Fixing issue #22193 - authorize argument is not deprecated for 2.3 for ios and eos (#22326)

pull/22357/head
Chris Alfonso 8 years ago 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)

Loading…
Cancel
Save