Merge "Fixes exception message for zone creation command"
This commit is contained in:
commit
1710e02fad
@ -115,7 +115,7 @@ class CreateZoneCommand(show.ShowOne):
|
||||
else:
|
||||
msg = "Type %s is not supported. Please choose between " \
|
||||
"PRIMARY or SECONDARY"
|
||||
raise osc_exc.CommandError(msg)
|
||||
raise osc_exc.CommandError(msg % parsed_args.type)
|
||||
|
||||
data = client.zones.create(
|
||||
parsed_args.name, parsed_args.type, **payload)
|
||||
|
Loading…
x
Reference in New Issue
Block a user