mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
This commit is contained in:
committed by
Ricardo Carrillo Cruz
parent
792efbe3b6
commit
25827c85d2
@@ -61,7 +61,7 @@ eos_argument_spec = {
|
||||
def check_args(module, warnings):
|
||||
provider = module.params['provider'] or {}
|
||||
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 '
|
||||
'removed in a future version' % key)
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ ios_argument_spec = {
|
||||
def check_args(module, warnings):
|
||||
provider = module.params['provider'] or {}
|
||||
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 '
|
||||
'removed in a future version' % key)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user