Fixes an incorrect method definition (#40719)
The to_return method def in bigiq's https offload module was incorrect. This fixes it.
This commit is contained in:
parent
6fb128b235
commit
174d7f8ea2
1 changed files with 6 additions and 3 deletions
|
@ -394,9 +394,12 @@ class ModuleParameters(Parameters):
|
||||||
class Changes(Parameters):
|
class Changes(Parameters):
|
||||||
def to_return(self):
|
def to_return(self):
|
||||||
result = {}
|
result = {}
|
||||||
for returnable in self.returnables:
|
try:
|
||||||
result[returnable] = getattr(self, returnable)
|
for returnable in self.returnables:
|
||||||
result = self._filter_params(result)
|
result[returnable] = getattr(self, returnable)
|
||||||
|
result = self._filter_params(result)
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue