File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ package cmd
22
33import (
44 "fmt"
5+ "runtime"
56
67 "github.com/jetstack/preflight/pkg/client"
78 "github.com/jetstack/preflight/pkg/version"
89)
910
1011func printVersion (verbose bool ) {
11- fmt .Println ("Preflight version: " , version .PreflightVersion , version . Platform )
12+ fmt .Println ("Preflight version: " , version .PreflightVersion , runtime . GOOS + "/" + runtime . GOARCH )
1213 if verbose {
1314 fmt .Println (" Commit: " , version .Commit )
1415 fmt .Println (" Built: " , version .BuildDate )
Original file line number Diff line number Diff line change @@ -13,6 +13,3 @@ var BuildDate string
1313
1414// GoVersion is the go version that was used to compile this
1515var GoVersion string
16-
17- // Platform is the target platform this was compiled for
18- var Platform string
You can’t perform that action at this time.
0 commit comments