Merge pull request #8832 from sivel/rax-validate-regions

rax modules: Perform region validation early
This commit is contained in:
James Cammarata 2014-09-02 13:03:31 -05:00
commit 7c9ac2aee1
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ def main():
state = module.params.get('state') state = module.params.get('state')
ttl = module.params.get('ttl') ttl = module.params.get('ttl')
setup_rax_module(module, pyrax) setup_rax_module(module, pyrax, False)
rax_dns(module, comment, email, name, state, ttl) rax_dns(module, comment, email, name, state, ttl)

View file

@ -312,7 +312,7 @@ def main():
ttl = module.params.get('ttl') ttl = module.params.get('ttl')
record_type = module.params.get('type') record_type = module.params.get('type')
setup_rax_module(module, pyrax) setup_rax_module(module, pyrax, False)
if record_type.upper() == 'PTR': if record_type.upper() == 'PTR':
if not server and not loadbalancer: if not server and not loadbalancer: