cloudstack: add missing zone name to result (#25806)

This commit is contained in:
René Moser 2017-06-16 20:30:25 +02:00 committed by GitHub
parent 6feee18292
commit 4ffc4b6748

View file

@ -431,6 +431,7 @@ class AnsibleCloudStack(object):
# use the first zone if no zone param given # use the first zone if no zone param given
if not zone: if not zone:
self.zone = zones['zone'][0] self.zone = zones['zone'][0]
self.result['zone'] = self.zone['name']
return self._get_by_key(key, self.zone) return self._get_by_key(key, self.zone)
if zones: if zones: