oslo-config-generator does not normalize section names
Bug #1646084 reported by
Ihar Hrachyshka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Fix Released
|
Low
|
Victor Morales |
Bug Description
If some option listing functions use upper case letters for a section name while others use lower case, then the resulting file gets two separate sections. I think INI file section names are supposed to be case insensitive, and hence the generator should normalize their names to the same case (either upper or lower case) and generate a single section for functions using different cases.
Changed in oslo.config: | |
assignee: | nobody → Victor Morales (electrocucaracha) |
To post a comment you must log in.
For example, the following section functions result in two - 'AGENT' and 'agent' - sections:
def list_base_ agent_opts( ): agent.common. config. AGENT_STATE_ OPTS),
return [
('agent', neutron.
]
def list_metadata_ agent_opts( ): agent.common. config. AGENT_STATE_ OPTS)
return [
('AGENT', neutron.
]