Skip to content

Commit

Permalink
Merge pull request #86 from azgabur/version_refactor
Browse files Browse the repository at this point in the history
Refactor version display
  • Loading branch information
R-Lawton authored Jun 5, 2024
2 parents 50dc3c4 + d640425 commit 08f8fbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (

"github.com/kuadrant/kuadrantctl/pkg/utils"
"github.com/kuadrant/kuadrantctl/version"
logf "sigs.k8s.io/controller-runtime/pkg/log"
)

func versionCommand() *cobra.Command {
Expand All @@ -21,7 +20,7 @@ func versionCommand() *cobra.Command {
return err
}

logf.Log.Info(fmt.Sprintf("kuadrantctl version: %s", version.Version))
fmt.Println("kuadrantctl", version.Version)
return nil
},
}
Expand Down

0 comments on commit 08f8fbf

Please sign in to comment.