finalize update check URL

This commit is contained in:
Alex Goodman
2020-07-27 15:13:41 -04:00
parent 19eadde9ca
commit 06f8355fce
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -7,15 +7,15 @@ import (
"strings"
hashiVersion "github.com/anchore/go-version"
"github.com/anchore/syft/internal"
)
var latestAppVersionURL = struct {
host string
path string
}{
// TODO: set me to release host/path before release
host: "https://anchore.io",
path: "/syft/releases/latest/VERSION",
host: "https://toolbox-data.anchore.io",
path: fmt.Sprintf("/%s/releases/latest/VERSION", internal.ApplicationName),
}
func IsUpdateAvailable() (bool, string, error) {