Skip to content

Commit

Permalink
Merge pull request #319 from geowa4/version-warning
Browse files Browse the repository at this point in the history
Version check enhancements
  • Loading branch information
openshift-merge-robot authored Jan 30, 2023
2 parents edee89e + 4a4d62e commit 0ef4d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func NewCmdRoot(streams genericclioptions.IOStreams) *cobra.Command {
}

if utils.Version != latestVersion {
fmt.Println("The current version is different than the latest released version.")
fmt.Println(fmt.Sprintf("The current version (%s) is different than the latest released version (%s).", utils.Version, latestVersion))
fmt.Println("It is recommended that you update to the latest released version to ensure that no known bugs or issues are hit.")
fmt.Println("Please confirm that you would like to continue with [y|n]")

Expand Down

0 comments on commit 0ef4d1f

Please sign in to comment.