|
|
@ -86,7 +86,7 @@ class decort_lb(DecortController):
|
|
|
|
self.result['msg'] = ("Current user does not have access to the requested account "
|
|
|
|
self.result['msg'] = ("Current user does not have access to the requested account "
|
|
|
|
"or non-existent account specified.")
|
|
|
|
"or non-existent account specified.")
|
|
|
|
self.amodule.fail_json(**self.result)
|
|
|
|
self.amodule.fail_json(**self.result)
|
|
|
|
self.rg_id, self.rg_facts = self.rg_find(self._acc_id,0, arg_rg_name=arg_amodule.params['rg_name'])
|
|
|
|
self.rg_id, self.rg_facts = self.rg_find(self.acc_id,0, arg_rg_name=arg_amodule.params['rg_name'])
|
|
|
|
|
|
|
|
|
|
|
|
if self.rg_id and self.vins_id:
|
|
|
|
if self.rg_id and self.vins_id:
|
|
|
|
self.lb_id, self.lb_facts = self.lb_find(0,arg_amodule.params['lb_name'],self.rg_id)
|
|
|
|
self.lb_id, self.lb_facts = self.lb_find(0,arg_amodule.params['lb_name'],self.rg_id)
|
|
|
|