]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix silly error in comment
authorDuncan Thomas <duncan.thomas@hp.com>
Tue, 25 Feb 2014 17:56:56 +0000 (17:56 +0000)
committerDuncan Thomas <duncan.thomas@hp.com>
Tue, 25 Feb 2014 19:00:25 +0000 (19:00 +0000)
Fixing since it threw me for a second or two...

Change-Id: I53ecbe8a7bf31bd5c88cb0d025ff3d46aa741ce9

cinder/api/v2/volumes.py

index 72325cfc992d92abeae9097e51d9428e17248b6f..0e7183d6a54415a745e4c382d9e0652154d80cb7 100644 (file)
@@ -325,7 +325,8 @@ class VolumeController(wsgi.Controller):
             volume['display_name'] = volume.get('name')
             del volume['name']
 
-        # NOTE(thingee): v2 API allows description instead of description
+        # NOTE(thingee): v2 API allows description instead of
+        #                display_description
         if volume.get('description'):
             volume['display_description'] = volume.get('description')
             del volume['description']