summaryrefslogtreecommitdiff
path: root/ceilometer/image
diff options
context:
space:
mode:
authorYunhong, Jiang <yunhong.jiang@intel.com>2013-01-16 22:44:46 +0800
committerYunhong, Jiang <yunhong.jiang@intel.com>2013-01-16 22:46:55 +0800
commita801bdfb170e338133cf7faaaa97f0b7dcc0abc7 (patch)
tree52fff14f7c018ac01adeb5edaacd76663db27c0c /ceilometer/image
parent51c8a8e55cc43ef5774c42ce38c962cb2526acfb (diff)
downloadceilometer-a801bdfb170e338133cf7faaaa97f0b7dcc0abc7.tar.gz
Remove the ImageSizePollster
We can use generator to achieve this purpose simply. Change-Id: Id05c33fb2aa89fd02035c717417d0181e975c3ec Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
Diffstat (limited to 'ceilometer/image')
-rw-r--r--ceilometer/image/glance.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ceilometer/image/glance.py b/ceilometer/image/glance.py
index 743d6598..06a9d420 100644
--- a/ceilometer/image/glance.py
+++ b/ceilometer/image/glance.py
@@ -96,12 +96,6 @@ class ImagePollster(_Base):
timestamp=timeutils.isotime(),
resource_metadata=self.extract_image_metadata(image),
)
-
-
-class ImageSizePollster(_Base):
-
- def get_counters(self, manager, context):
- for image in self.iter_images():
yield counter.Counter(
name='image.size',
type=counter.TYPE_GAUGE,