From d6404253862405e3f7cbcbfcc272e6c0498af117 Mon Sep 17 00:00:00 2001 From: Alex Zgabur Date: Tue, 4 Jun 2024 17:00:17 +0200 Subject: [PATCH] Refactor version display --- cmd/version.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/version.go b/cmd/version.go index b89d6ac..115b2d0 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -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 { @@ -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 }, }