Ensure TTL is treated as an int in the CLI
Change-Id: Icd6e56adb416946af98bcc1dd1fbbe16c2aef8c8
This commit is contained in:
parent
d22d1afa59
commit
6714726520
@ -76,7 +76,7 @@ class UpdateDomainCommand(base.UpdateCommand):
|
||||
parser.add_argument('id', help="Domain ID")
|
||||
parser.add_argument('--name', help="Domain Name")
|
||||
parser.add_argument('--email', help="Domain Email")
|
||||
parser.add_argument('--ttl', help="Time To Live (Seconds)")
|
||||
parser.add_argument('--ttl', type=int, help="Time To Live (Seconds)")
|
||||
|
||||
return parser
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user