Skip to content

Commit 31b2beb

Browse files
committed
feature: fix a regression in list command
1 parent 9b1b2c0 commit 31b2beb

File tree

1 file changed

+1
-0
lines changed
  • internal/cmd/beta/security-group/list

1 file changed

+1
-0
lines changed

internal/cmd/beta/security-group/list/list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
6868

6969
if items := response.GetItems(); items == nil || len(*items) == 0 {
7070
p.Info("No security groups found for project %q", projectLabel)
71+
} else {
7172
if err := outputResult(p, model.OutputFormat, *items); err != nil {
7273
return fmt.Errorf("output security groups: %w", err)
7374
}

0 commit comments

Comments
 (0)