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 }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Partially addresses #1411
CLI code used to print error message and exit, without passing proper code to shell.
This PR fixes that.
There may still be some functions which do not return proper status , but at least this fixes the framework
Functions which do not return proper code: example.
set_vol_opts() should return None on success and return "err msg" on error. Currently it prints stuff and always returns success. A quick review of CLI code is needed to make sure all return proper code.
The text was updated successfully, but these errors were encountered:
1. Maintaining unambiguity through returning proper exit code when command fails along with message print.
2. Removed redundant helper to print the error message and return it.
Fixesvmware-archive#1522
#1543)
1. Maintaining unambiguity through returning proper exit code when command fails along with message print.
2. Removed redundant helper to print the error message and return it.
Fixes#1522
#1464 is fixing partially Admin CLI return code .. This issue is tracking the remaining work.
Some more reference from #1464 (comment)
The text was updated successfully, but these errors were encountered: