Parameter osapi_max_limit is always used by default even it's set in the configuration file
Bug #1487510 reported by
Yuriy Nesenenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Yuriy Nesenenko |
Bug Description
Parameter osapi_max_limit is always used by default even it's set in the configuration file. This happens because this parameter is passed to the function declaration in such functions common.
Changed in cinder: | |
assignee: | nobody → Yuriy Nesenenko (ynesenenko) |
Changed in cinder: | |
status: | Confirmed → In Progress |
Changed in cinder: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-3 → 7.0.0 |
To post a comment you must log in.
The problem is default value max_limit is initialized before value from config is read. Default parameter values are always evaluated when, and only when, the “def” statement they belong to is executed. So default value is used all time.