Misleading exception when CONF.project
Bug #1542372 reported by
Brant Knudson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Triaged
|
Low
|
Unassigned |
Bug Description
If the application didn't do CONF(), and uses CONF.project, the exception says that the problem is that there's no project option in the DEFAULT section. This is misleading because project isn't supposed to be a config option but is supposed to be passed in to CONF().
Changed in oslo.config: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
CfgOpts() should set self.project = None in __init__().