meshery: [mesheryctl] Improperly handled unavailability of Meshery Server
See mesheryctl Command Tracker for current status of commands.
Current Behavior
Improperly handled error. Error code 255 is displayed when Meshery Server is not running (when Docker is not running on a Docker-based deployment).
Desired Behavior
User should be informed that Meshery Server is not reachable. Display the current context’s endpoint to the user.
Screenshots/Logs
➜ ~ mesheryctl system status
A new release of mesheryctl is available: Not Set → v0.5.36
https://github.com/layer5io/meshery/releases/tag/v0.5.36
Check https://docs.meshery.io/guides/upgrade#upgrading-meshery-cli for instructions on how to update mesheryctl
Error: exit status 255
Usage:
mesheryctl system status [flags]
Flags:
-h, --help help for status
Global Flags:
--config string config file (default location is: /Users/lee/.meshery/config.yaml) (default "/Users/lee/.meshery/config.yaml")
-c, --context string (optional) temporarily change the current context.
-v, --verbose verbose output
-y, --yes (optional) assume yes for user interactive prompts.
Environment
- Host OS: Mac
- Meshery Client Version: stable-v0.5.36
- Platform: Docker
Contributor Resources
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (15 by maintainers)
oh! I just pointed it out.
@navendu-pottekkat I have tried but not being to replicate this🤔.