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
This commit is contained in:
Tom Fifield 2014-06-26 14:18:59 +08:00
parent 9cc1422bfb
commit 0247469109
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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()