need to document correct format for DictOpt options
Bug #1413389 reported by
Jason Dunsmore
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Fix Released
|
Low
|
Davanum Srinivas (DIMS) |
Bug Description
I added a new DictOpt option using:
cfg.
When I add this entry into the config file:
hidden_stack_tags = {'source': 'heat'}
The value is parsed as:
{"{'source'": "'heat'}"}
The value should be parsed as:
{'source': 'heat'}
Here's another example http://
summary: |
- DictOpt incorrectly parses dicts + need to document correct format for DictOpt options |
Changed in oslo.config: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: doc |
Changed in oslo.config: | |
milestone: | none → 2.5.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
dims pointed me to the test cases, where I saw that I was using the wrong format. It should be "option = key:value". Maybe this should be added to the docs?