Fixed issue with accessing response in digital_ocean module (#37268)
This commit is contained in:
parent
68e7045a38
commit
6ad784bbbb
1 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,8 @@ class DoManager(DigitalOceanHelper, object):
|
|||
def edit_domain_record(self):
|
||||
params = {'name': self.domain_name}
|
||||
resp = self.put('domains/%s/records/%s' % (self.domain_name, self.domain_id), data=params)
|
||||
return resp['domain_record']
|
||||
status, json = self.jsonify(resp)
|
||||
return json['domain_record']
|
||||
|
||||
|
||||
def core(module):
|
||||
|
|
Loading…
Reference in a new issue