You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG in CLI.execute() in netapp-ontap python client library #53
In the resources/cli.py module there is a bug which causes the library to do a POST instead of GET for the command vserver export-policy check-access
The _parse_command(command) function looks for show or status in the action_word in order to change the request type from POST to GET in the if statement and not forr check-access.
The reference code:
if "show" in action_word or "status" in action_word: # Need to add check-access here probably
verb = "get"
if action_word.startswith("show-"):
everything_else.append("-".join(action_word.split("-")[1:]))
elif action_word != "show":
everything_else.append(action_word)
Thank you for reporting an issue! If you haven't already joined our Discord community,
then we invite you to do so. This is a great place to get help and ask questions from our community.
Activity
github-actions commentedon Sep 25, 2025
Thank you for reporting an issue! If you haven't already joined our Discord community,
then we invite you to do so. This is a great place to get help and ask questions from our community.
nychef commentedon Feb 4, 2026
the same thing happens for snapmirror list-destinations. I think having the default be GET rather than POST is a better way to handle this