-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
cmd_runner module utils: fix bug when argument spec has implicit type #6968
cmd_runner module utils: fix bug when argument spec has implicit type #6968
Conversation
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6977 🤖 @patchback |
@russoz thanks for fixing this! |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6978 🤖 @patchback |
…ug when argument spec has implicit type (#6977) cmd_runner module utils: fix bug when argument spec has implicit type (#6968) * cmd_runner module utils: fix bug when argument spec has implicit type * add changelog frag (cherry picked from commit f6714ed) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
…ug when argument spec has implicit type (#6978) cmd_runner module utils: fix bug when argument spec has implicit type (#6968) * cmd_runner module utils: fix bug when argument spec has implicit type * add changelog frag (cherry picked from commit f6714ed) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
SUMMARY
When a parameter in
argument_spec
has no type, meaning it is implicitly astr
,CmdRunner
would fail trying to find thetype
key in that dictionary.ISSUE TYPE
COMPONENT NAME
plugins/module_utils/cmd_runner.py