]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
scheduler: Improve task descriptions in debug logs
authorZane Bitter <zbitter@redhat.com>
Mon, 17 Jun 2013 15:42:04 +0000 (17:42 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 17 Jun 2013 15:42:04 +0000 (17:42 +0200)
commit26812e34bd9460a63aebdcbdc1ca27b243f91660
tree20c91ff0996c93d54ba62800d18758f3743c4b45
parentafbd6c9d999b79f9641ab886e284e720128f1dfb
scheduler: Improve task descriptions in debug logs

Tasks that were simply defined as ordinary functions (not methods) were
identified by their repr() in the logs, which is only really desirable as a
last resort and for objects (where the __call__() method is the task). Use
the function name instead.

Change-Id: Ie34a3602deb968979118b0961bcddf226cf5983f
heat/engine/scheduler.py
heat/tests/test_scheduler.py