-
Notifications
You must be signed in to change notification settings - Fork 43
[Enabler][zos_operator] Update module interface #2230
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
[Enabler][zos_operator] Update module interface #2230
Conversation
plugins/modules/zos_operator.py
Outdated
end = timer() | ||
rc = response.rc | ||
stdout = response.stdout_response | ||
stderr = response.stderr_response | ||
elapsed = round(end - start, 2) | ||
if time_unit != "s": |
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.
This could just check if time_unit
is cs
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.
suggested changes by Ale seem appropriate, apart from that all looks good from my end.
Co-authored-by: Alex Moreno <[email protected]>
Co-authored-by: Alex Moreno <[email protected]>
Co-authored-by: Alex Moreno <[email protected]>
Co-authored-by: Alex Moreno <[email protected]>
Co-authored-by: Alex Moreno <[email protected]>
Alex is out on vacations and Marcel has fixed their comments.
SUMMARY
Update module zos_operator interface.
Fixes #2158
ISSUE TYPE
COMPONENT NAME
Add unit_time option for select centiseconds and seconds also as return value.
ADDITIONAL INFORMATION