Remove Warning for provider (#23652)
This commit is contained in:
parent
e1dcc01d3a
commit
b8507b676b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue