config: deprecated settings don't override later non deprecated names
Bug #1249620 reported by
Pádraig Brady
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Expired
|
Low
|
Unassigned |
Bug Description
As reported at http://
If you set sql_connection=... in a config file,
and connection=... in subsequent config file,
the latter is ignored.
Changed in oslo: | |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: config |
affects: | oslo-incubator → oslo.config |
To post a comment you must log in.
I'm not sure how the library is supposed to pick between the two names. If it encounters both a deprecated name and a "new" name, the "new" name seems like the obvious choice for what should be used. I don't think we want the deprecated name used unless the "new" name is not present in the configuration file.