Non-descriptive CLI errors with missing artifacts
Bug #1429973 reported by
Devdatta Kulkarni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-solumclient |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using app create with a plan file that is missing the artifacts section returns a non-descriptive error message.
version: 1
name: missing_artifact
description: A plan that has no artifact.
$ solum app create --plan-file invalidplan.yaml
ERROR: artifacts
affects: | solum → python-solumclient |
Changed in python-solumclient: | |
status: | New → Fix Released |
To post a comment you must log in.
How about we add a check at https:/ /github. com/stackforge/ python- solumclient/ blob/master/ solumclient/ solum.py# L654 and throw an exc.CommandErro r("Plan file has no artifacts.")?