cli: prefix "v" to cli version in versionCollector

No new images will be found unless this is set
This commit is contained in:
Otto Bittner 2023-02-15 11:38:01 +01:00
parent b4ef4ec370
commit 33a884d4e4

View File

@ -81,7 +81,7 @@ func runUpgradeCheck(cmd *cobra.Command, args []string) error {
client: http.DefaultClient, client: http.DefaultClient,
rekor: rekor, rekor: rekor,
flags: flags, flags: flags,
cliVersion: constants.VersionInfo, cliVersion: compatibility.EnsurePrefixV(constants.VersionInfo),
log: log, log: log,
}, },
log: log, log: log,