cbt ls
error message is obtuse when using a bad instance ID
#143
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
If I run
cbt -instance=abc_123 ls
I get an error message which does not help me diagnose my problem. I get:"Instance name expected in the form 'projects/<project_id>/instances/<instance_id>'" is very confusing since my instance name seemingly does match this pattern.
Conversely, if I do
cbt -instance=abc ls
, I get a better error message explaining what is wrong:It would be nice if the CLI told me why the instance name was unparseable or at least show me the regex which my instance ID needs to match.
The text was updated successfully, but these errors were encountered: