]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add hacking check for use of LOG.audit
authorJay S. Bryant <jsbryant@us.ibm.com>
Fri, 1 Aug 2014 20:43:51 +0000 (15:43 -0500)
committerJay S. Bryant <jsbryant@us.ibm.com>
Sat, 9 Aug 2014 15:22:03 +0000 (10:22 -0500)
commit097d3d791071148b53c076aef66eefa77b2b10db
tree8fa3972284ba531711846f126cbf19ed113402c9
parent057d9feeb8d861cdfde5cef41d63abb4a3fb4503
Add hacking check for use of LOG.audit

Commit 4dc37abc removes the few instances of LOG.audit that
were in Cinder.  Given that the plan is to remove LOG.audit messages
from OpenStack, I am adding this hacking check to ensure that such
messages do not sneak their way back into Cinder.

Unit tests are included with this change.

Change-Id: Icc416a68f958f60260f1c55af0d8605c95913bf1
HACKING.rst
cinder/hacking/checks.py
cinder/tests/test_hacking.py