build: fix build artifacts in binary

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2021-12-07 20:51:04 +00:00
committed by Ramkumar Chinchani
parent 63a75216ed
commit d4307d96ac
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ func NewRootCmd() *cobra.Command {
Run: func(cmd *cobra.Command, args []string) {
if showVersion {
log.Info().Str("distribution-spec", distspec.Version).Str("commit", config.Commit).
Str("binary-type", config.BinaryType).Msg("version")
Str("binary-type", config.BinaryType).Str("go version", config.GoVersion).Msg("version")
}
_ = cmd.Usage()
cmd.SilenceErrors = false