]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Profiler: don't call trace_cls if profiler is not enabled
authorEric Harney <eharney@redhat.com>
Wed, 10 Feb 2016 19:16:17 +0000 (14:16 -0500)
committerEric Harney <eharney@redhat.com>
Wed, 10 Feb 2016 20:12:30 +0000 (15:12 -0500)
commitc79748c4ac05555e1c6292af40e28a5869aab879
tree6116f52c87f5b9dbe7290ddaa6877e63c4566d9a
parent0168056eb32f4830bf031bde132304f3cb64a85f
Profiler: don't call trace_cls if profiler is not enabled

If the profiler is disabled, don't call methods to setup
tracing.

Change-Id: I5573eab9458946c1cb2fc49792de2c64b5967cd2
cinder/service.py
cinder/volume/manager.py