Remove Warning for provider (#23652)

This commit is contained in:
Ken Celenza 2017-04-17 15:06:24 -04:00 committed by Ganesh Nalawade
parent e1dcc01d3a
commit b8507b676b

View file

@ -44,7 +44,7 @@ junos_argument_spec = {
def check_args(module, warnings):
provider = module.params['provider'] or {}
for key in junos_argument_spec:
if key in ('provider',) and module.params[key]:
if key not in ('provider',) and module.params[key]:
warnings.append('argument %s has been deprecated and will be '
'removed in a future version' % key)