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
This change changes the `ecctl.<struct>.Validate()` functions
multierrors to use `cloud-sdk-go/pkg/multierror.Prefixed` to improve the
quality of our errors to always use prefixes.
Additionally, changes the behavior when the ecctl.App fails to be
initialized and the config file used is empty (unexisting, or failed to
read) to throw an error which instructs the user to run "ecctl init".
Resolves#223.
Resolves#220.
Signed-off-by: Marc Lopez <marc5.12@outlook.com>
Readiness Checklist
Expected Behavior
When the config file used does not exist, the user should be informed with a user-friendly message
Current Behavior
No error is reported. Instead, a not-very-helpful message is displayed
Possible Solution
Check for config file existence and show a user-friendly message
Steps to Reproduce
Just run any command by providing a config file value pointing to a file that doesn't exist
Context
Maybe this is happening also even if the config file exists but its contents cannot be read.
I assume we need to handle that case too
Your Environment
The text was updated successfully, but these errors were encountered: