Fix to not warn for context and passwords

The parameters 'context' and 'passwords' were wrongly marked as being
deprecated.
This commit is contained in:
Patrick Ogenstad 2017-09-13 20:51:36 +02:00 committed by Toshio Kuratomi
parent 02094eed71
commit 8a10472a3d

View file

@ -62,7 +62,7 @@ def check_args(module):
provider = module.params['provider'] or {}
for key in asa_argument_spec:
if key not in ['provider', 'authorize'] and module.params[key]:
if key not in ['context', 'passwords', 'provider', 'authorize'] and module.params[key]:
module.warn('argument %s has been deprecated and will be removed in a future version' % key)
if provider: