mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
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):
|
def check_args(module, warnings):
|
||||||
provider = module.params['provider'] or {}
|
provider = module.params['provider'] or {}
|
||||||
for key in junos_argument_spec:
|
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 '
|
warnings.append('argument %s has been deprecated and will be '
|
||||||
'removed in a future version' % key)
|
'removed in a future version' % key)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue