Fix to not warn for context and passwords
The parameters 'context' and 'passwords' were wrongly marked as being deprecated.
This commit is contained in:
parent
02094eed71
commit
8a10472a3d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue