Remove context object in oslo.log method
Removed context object while logging as Nova uses oslo.context's RequestContext which means the context object is in scope when doing logging. Added hack to notify, in case if someone uses it in logging statements in future. Change-Id: I5aaa869f2e6155964827e659d18e2bcaad9d866b Closes-Bug:#1500896
This commit is contained in:
parent
efb67379eb
commit
43f8eb40d7
@ -63,6 +63,7 @@ Nova Specific Commandments
|
||||
- [N350] Policy registration should be in the central location ``nova/policies/``
|
||||
- [N351] Do not use the oslo_policy.policy.Enforcer.enforce() method.
|
||||
- [N352] LOG.warn is deprecated. Enforce use of LOG.warning.
|
||||
- [N353] Validate that context objects is not passed in logging calls.
|
||||
|
||||
Creating Unit Tests
|
||||
-------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user