From: Tom Fifield Date: Thu, 26 Jun 2014 06:18:59 +0000 (+0800) Subject: Fix docstring for snapshots API X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=0247469109a02c805ead501e0bb2756a66f08d9f;p=openstack-build%2Fcinder-build.git Fix docstring for snapshots API For some reason, the snapshots controller class' introductory docstring stated that it was the volume API controller. This patch changes it to say: "The Snapshots API controller for the OpenStack API." Change-Id: I8c9827939bbc7acf93282db854a40501f3fea399 --- diff --git a/cinder/api/v1/snapshots.py b/cinder/api/v1/snapshots.py index 1e4411143..66e540211 100644 --- a/cinder/api/v1/snapshots.py +++ b/cinder/api/v1/snapshots.py @@ -93,7 +93,7 @@ class SnapshotsTemplate(xmlutil.TemplateBuilder): class SnapshotsController(wsgi.Controller): - """The Volumes API controller for the OpenStack API.""" + """The Snapshots API controller for the OpenStack API.""" def __init__(self, ext_mgr=None): self.volume_api = volume.API() diff --git a/cinder/api/v2/snapshots.py b/cinder/api/v2/snapshots.py index bc74d58fd..1d7bbd20f 100644 --- a/cinder/api/v2/snapshots.py +++ b/cinder/api/v2/snapshots.py @@ -93,7 +93,7 @@ class SnapshotsTemplate(xmlutil.TemplateBuilder): class SnapshotsController(wsgi.Controller): - """The Volumes API controller for the OpenStack API.""" + """The Snapshots API controller for the OpenStack API.""" def __init__(self, ext_mgr=None): self.volume_api = volume.API()