Merge branch 'fix/rc-5.2.6/decort_utils.py/1' into 'rc-5.2.6'

Enable output of deleted RGs for API request /restmachine/cloudapi/rg/list in...

See merge request rudecs/dev/decort-ansible!18
rc-5.3.0^2
Алексей Даньков 1 year ago
commit 31b72b3806

@ -1684,7 +1684,7 @@ class DecortController(object):
self.amodule.fail_json(**self.result)
# try to locate RG by name - start with getting all RGs IDs within the specified account
#api_params['accountId'] = arg_account_id
api_params['includedeleted'] = False
api_params['includedeleted'] = True
#api_resp = self.decort_api_call(requests.post, "/restmachine/cloudapi/account/listRG", api_params)
api_resp = self.decort_api_call(requests.post, "/restmachine/cloudapi/rg/list",api_params)
if api_resp.status_code == 200:

Loading…
Cancel
Save