Perform region validation early to be more explicit about invalid region failures
This commit is contained in:
parent
30a3668d2b
commit
1c43bc322f
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ def main():
|
|||
state = module.params.get('state')
|
||||
ttl = module.params.get('ttl')
|
||||
|
||||
setup_rax_module(module, pyrax)
|
||||
setup_rax_module(module, pyrax, False)
|
||||
|
||||
rax_dns(module, comment, email, name, state, ttl)
|
||||
|
||||
|
|
|
@ -312,7 +312,7 @@ def main():
|
|||
ttl = module.params.get('ttl')
|
||||
record_type = module.params.get('type')
|
||||
|
||||
setup_rax_module(module, pyrax)
|
||||
setup_rax_module(module, pyrax, False)
|
||||
|
||||
if record_type.upper() == 'PTR':
|
||||
if not server and not loadbalancer:
|
||||
|
|
Loading…
Add table
Reference in a new issue