Skip to content

Commit 64f3f14

Browse files
authored
fix: add missing security group ID output to security-group create command (#846)
1 parent 380330d commit 64f3f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/security-group/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func outputResult(p *print.Printer, outputFormat, name string, resp iaas.Securit
156156

157157
return nil
158158
default:
159-
p.Outputf("Created security group %q\n", name)
159+
p.Outputf("Created security group %q.\nSecurity Group ID %s\n", name, utils.PtrString(resp.Id))
160160
return nil
161161
}
162162
}

0 commit comments

Comments
 (0)