fixed bad copy/paste, deprecations should deprecate
This commit is contained in:
parent
7f1c43e597
commit
85194234ba
1 changed files with 1 additions and 1 deletions
|
@ -1955,7 +1955,7 @@ class AnsibleModule(object):
|
|||
if 'deprecations' in kwargs:
|
||||
if isinstance(kwargs['deprecations'], list):
|
||||
for d in kwargs['deprecations']:
|
||||
self.warn(d)
|
||||
self.deprecate(d)
|
||||
else:
|
||||
self.warn(kwargs['deprecations'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue