Skip to content

Commit 88dc52b

Browse files
committed
fix: consistent else if-clause for labels
1 parent 279066d commit 88dc52b

File tree

1 file changed

+1
-2
lines changed
  • internal/cmd/beta/quota/list

1 file changed

+1
-2
lines changed

internal/cmd/beta/quota/list/list.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
5252
if err != nil {
5353
p.Debug(print.ErrorLevel, "get project name: %v", err)
5454
projectLabel = model.ProjectId
55-
}
56-
if projectLabel == "" {
55+
} else if projectLabel == "" {
5756
projectLabel = model.ProjectId
5857
}
5958

0 commit comments

Comments
 (0)