From 560678884a67644a5ee3ac40f6b54f942ffe7c2a Mon Sep 17 00:00:00 2001 From: Duncan Thomas Date: Tue, 25 Feb 2014 17:56:56 +0000 Subject: [PATCH] Fix silly error in comment Fixing since it threw me for a second or two... Change-Id: I53ecbe8a7bf31bd5c88cb0d025ff3d46aa741ce9 --- cinder/api/v2/volumes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'] -- 2.45.2