Skip to content

Commit 31576d1

Browse files
committed
fix(iaas): readded lost elif block
1 parent a010f5d commit 31576d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

internal/cmd/public-ip/list/list.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
8383
if err != nil {
8484
params.Printer.Debug(print.ErrorLevel, "get project name: %v", err)
8585
projectLabel = model.ProjectId
86+
} else if projectLabel == "" {
87+
projectLabel = model.ProjectId
8688
}
8789

8890
// Truncate output

0 commit comments

Comments
 (0)