Fixes an incorrect method definition (#40719)

The to_return method def in bigiq's https offload module was incorrect.
This fixes it.
pull/40720/head
Tim Rupp 7 years ago committed by GitHub
parent 6fb128b235
commit 174d7f8ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -394,9 +394,12 @@ class ModuleParameters(Parameters):
class Changes(Parameters):
def to_return(self):
result = {}
for returnable in self.returnables:
result[returnable] = getattr(self, returnable)
result = self._filter_params(result)
try:
for returnable in self.returnables:
result[returnable] = getattr(self, returnable)
result = self._filter_params(result)
except Exception:
pass
return result

Loading…
Cancel
Save