[2.6.8] model-config prints a cryptic error message if a file was not found
Bug #1843456 reported by
Dmitrii Shcherbakov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Nam Nguyen |
Bug Description
ubuntu@
juju model-config ftp-proxy=
juju model-config path/to/file.yaml
ubuntu@
ERROR key "bundles/
ubuntu@
ubuntu@
0
Changed in juju: | |
assignee: | nobody → Nam Nguyen (nammn) |
Changed in juju: | |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You will get this error if the supplied file doesn't exist, since in that case the arg is treated as a config key.
The arg currently must be an absolute path. I think adding support for relative paths is reasonable. Plus, if the supplied arg looks like a file path, we can do better with the error message.