-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Warning for provider #23652
Remove Warning for provider #23652
Conversation
@@ -44,7 +44,7 @@ | |||
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]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for PR. This does throw an unwanted warning for timeout
argument as it has a default value in junos_argument_spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll ping @privateip as I believe he wanted to get rid of first level arguments, other than provider.
@itdependsnetworks I will merge the PR as this is a required change. Thank you! |
(cherry picked from commit b8507b6)
SUMMARY
Provider has a warning, I believe it should be opposite.
ISSUE TYPE
COMPONENT NAME
junos_facts
ANSIBLE VERSION
ADDITIONAL INFORMATION