IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link

Misleading error messages when project config is invalid #111

Open dvaccarosenna opened 2 years ago

dvaccarosenna commented 2 years ago

Describe the bug Error messages for invalid project config display internal attribute names: Error: resource_manager must be defined when type is Resource

In this case, the user is led to believe that they must add resource_manager to their lmctl project file, when in fact it should be resource-manager.

Expected behaviour Error message with correct attribute name syntax and ideally the name of the project or subproject in error.

Error: project "<NAME>" is invalid: resource-manager must be defined when type is Resource

Desktop (please complete the following information):