sample.Sample doesn't have string format method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
ZhiQiang Fan |
Bug Description
which will cause only shows in logs:
Transform sample <ceilometer.
we can see this in local environment or kibana, see: http://
in source code, where print logs about sample, are
* https:/
* https:/
* https:/
* https:/
* https:/
sample.Sample already has a method as_dict() to get formated string, but it is not nature for log, and developer must knew this detail and check carefully when they print log, I think we should better to provide a __repr__ method, which just do same thing as as_dict(), which will be much more convinent
Changed in ceilometer: | |
assignee: | nobody → ZhiQiang Fan (aji-zqfan) |
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ceilometer: | |
milestone: | none → kilo-1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/131324
Review: https:/