Skip to content

Commit

Permalink
version: display release architecture
Browse files Browse the repository at this point in the history
This should make it easier to identify the release/payload architecture
which a particular installer binary will install, since that is often
not clear from the release image name.
  • Loading branch information
yselkowitz committed Jul 27, 2021
1 parent 3ddd241 commit 5d67f79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/openshift-install/version.go
Expand Up @@ -33,5 +33,6 @@ func runVersionCmd(cmd *cobra.Command, args []string) error {
if image, err := releaseimage.Default(); err == nil {
fmt.Printf("release image %s\n", image)
}
fmt.Printf("release architecture %s\n", version.DefaultArch())
return nil
}

0 comments on commit 5d67f79

Please sign in to comment.