fixed typo

pull/658/head
Steven Robertson 5 years ago
parent 0b57332d75
commit ff2fa60184

@ -394,7 +394,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
if self._discovery_deprecation_warnings: if self._discovery_deprecation_warnings:
if result.get('deprecations') is None: if result.get('deprecations') is None:
result['deprecations'] = [] result['deprecations'] = []
data['deprecations'].extend(self._discovery_deprecation_warnings) result['deprecations'].extend(self._discovery_deprecation_warnings)
return wrap_var(result) return wrap_var(result)

Loading…
Cancel
Save