From a231680a547b1cedc1e4a74527c497443b72ee85 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Tue, 20 Aug 2013 17:19:27 +0200 Subject: [PATCH] Change counter to sample vocable in cm.image This changes counter to sample vocable in ceilometer.image code Parts of the blueprint remove-counter Change-Id: Ida25da18642b0b72643841d9221799bb17ebbfdc --- ceilometer/image/notifications.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ceilometer/image/notifications.py b/ceilometer/image/notifications.py index f43eb086..f0421a71 100644 --- a/ceilometer/image/notifications.py +++ b/ceilometer/image/notifications.py @@ -15,7 +15,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -"""Handler for producing image counter messages from glance notification +"""Handler for producing image metering messages from glance notification events. """ @@ -98,7 +98,7 @@ class ImageSize(ImageCRUDBase): class ImageDownload(ImageBase): - """Emit image_download counter when an image is downloaded.""" + """Emit image_download sample when an image is downloaded.""" event_types = ['image.send'] def process_notification(self, message): @@ -114,7 +114,7 @@ class ImageDownload(ImageBase): class ImageServe(ImageBase): - """Emit image_serve counter when an image is served out.""" + """Emit image_serve sample when an image is served out.""" event_types = ['image.send'] def process_notification(self, message):