-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
The api-cli command is frequently used during system maintenance or customization procedures.
In addition to the expected JSON output, many NS8 actions write supplementary information to standard error, which api-cli relays to its own stderr. These messages are often not actual errors but debug lines, which can be confusing or misleading.
Proposed solution
- Reduce the default verbosity of the command by omitting stderr relaying when the action completes successfully. If the action exits with a non-zero status, print the stderr output as currently done.
- Remove the "default cluster credentials" warning message. Improve error reporting when the action fails due to missing authorizations.
See also
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done