From: Duncan Thomas Date: Tue, 25 Feb 2014 17:56:56 +0000 (+0000) Subject: Fix silly error in comment X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=560678884a67644a5ee3ac40f6b54f942ffe7c2a;p=openstack-build%2Fcinder-build.git Fix silly error in comment Fixing since it threw me for a second or two... Change-Id: I53ecbe8a7bf31bd5c88cb0d025ff3d46aa741ce9 --- diff --git a/cinder/api/v2/volumes.py b/cinder/api/v2/volumes.py index 72325cfc9..0e7183d6a 100644 --- a/cinder/api/v2/volumes.py +++ b/cinder/api/v2/volumes.py @@ -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']