Merge branch 'BANS-368' into 'dev_bs_rc-5.2.6'

Add existing check for 'groupsName' key of self.bservice_info dict in...

See merge request rudecs/dev/decort-ansible!70
rc-5.3.0^2
commit bb8e9ad6f7

@ -151,7 +151,9 @@ class decort_bservice(DecortController):
ret_dict['state'] = self.bservice_info['status'] ret_dict['state'] = self.bservice_info['status']
ret_dict['rg_id'] = self.bservice_info['rgId'] ret_dict['rg_id'] = self.bservice_info['rgId']
ret_dict['account_id'] = self.acc_id ret_dict['account_id'] = self.acc_id
ret_dict['groupsName'] = self.bservice_info['groupsName'] bservice_info_groupsName = self.bservice_info.get('groupsName')
if bservice_info_groupsName:
ret_dict['groupsName'] = bservice_info_groupsName
ret_dict['groupsIds'] = self.bservice_info['groups'] ret_dict['groupsIds'] = self.bservice_info['groups']
return ret_dict return ret_dict
@staticmethod @staticmethod

Loading…
Cancel
Save