Skip to content

Commit

Permalink
Merge pull request #99 from FredrikMWold/fix/get-application-list-bug
Browse files Browse the repository at this point in the history
fix: get appllication list now prints to stdout
  • Loading branch information
nilsgstrabo authored Jun 19, 2024
2 parents 723000d + c3a8a1b commit f0cc40c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/getApplication.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit f0cc40c

Please sign in to comment.