mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-19 23:31:27 +00:00
Remove Warning for provider (#23652)
This commit is contained in:
committed by
Ganesh Nalawade
parent
e1dcc01d3a
commit
b8507b676b
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user