From c3a8a1b7251e863bb0a84cb7d34d2aafe9f35809 Mon Sep 17 00:00:00 2001 From: FredrikMWold Date: Tue, 18 Jun 2024 19:54:29 +0200 Subject: [PATCH] fix: get appllication list now prints to stdout --- cmd/getApplication.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/getApplication.go b/cmd/getApplication.go index ad3071b..c132e9a 100644 --- a/cmd/getApplication.go +++ b/cmd/getApplication.go @@ -23,7 +23,6 @@ import ( "github.com/equinor/radix-cli/pkg/client" "github.com/equinor/radix-cli/pkg/flagnames" "github.com/equinor/radix-cli/pkg/utils/json" - log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) @@ -52,8 +51,9 @@ var getApplicationCmd = &cobra.Command{ if err == nil { for _, application := range resp.Payload { - log.Infof("App: %s", application.Name) + fmt.Println(application.Name) } + return nil } return err }