mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
finalize update check URL
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user