mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
792efbe3b6
commit
25827c85d2
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ eos_argument_spec = {
|
||||||
def check_args(module, warnings):
|
def check_args(module, warnings):
|
||||||
provider = module.params['provider'] or {}
|
provider = module.params['provider'] or {}
|
||||||
for key in eos_argument_spec:
|
for key in eos_argument_spec:
|
||||||
if key not in ['provider', 'transport'] and module.params[key]:
|
if key not in ['provider', 'transport', 'authorize'] and module.params[key]:
|
||||||
warnings.append('argument %s has been deprecated and will be '
|
warnings.append('argument %s has been deprecated and will be '
|
||||||
'removed in a future version' % key)
|
'removed in a future version' % key)
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ ios_argument_spec = {
|
||||||
def check_args(module, warnings):
|
def check_args(module, warnings):
|
||||||
provider = module.params['provider'] or {}
|
provider = module.params['provider'] or {}
|
||||||
for key in ios_argument_spec:
|
for key in ios_argument_spec:
|
||||||
if key != 'provider' and module.params[key]:
|
if key not in ['provider', 'authorize'] and module.params[key]:
|
||||||
warnings.append('argument %s has been deprecated and will be '
|
warnings.append('argument %s has been deprecated and will be '
|
||||||
'removed in a future version' % key)
|
'removed in a future version' % key)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue