Fix typos in the volumes and snapshots docstrings

Change-Id: I0e4f3813b8e263ea59e182db153c5b4c6fd2a177
This commit is contained in:
Julie Pichon
2014-01-27 14:28:28 +00:00
committed by Gerrit Code Review
parent 596c909097
commit ea8c9554c9
4 changed files with 5 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ class SnapshotManager(base.ManagerWithFind):
"""
Update the display_name or display_description for a snapshot.
:param snapshot: The :class:`Snapshot` to delete.
:param snapshot: The :class:`Snapshot` to update.
"""
if not kwargs:
return

View File

@@ -190,7 +190,7 @@ class VolumeManager(base.ManagerWithFind):
"""
Get a volume.
:param volume_id: The ID of the volume to delete.
:param volume_id: The ID of the volume to get.
:rtype: :class:`Volume`
"""
return self._get("/volumes/%s" % volume_id, "volume")

View File

@@ -132,7 +132,7 @@ class SnapshotManager(base.ManagerWithFind):
def update(self, snapshot, **kwargs):
"""Update the name or description for a snapshot.
:param snapshot: The :class:`Snapshot` to delete.
:param snapshot: The :class:`Snapshot` to update.
"""
if not kwargs:
return

View File

@@ -187,7 +187,7 @@ class VolumeManager(base.ManagerWithFind):
def get(self, volume_id):
"""Get a volume.
:param volume_id: The ID of the volume to delete.
:param volume_id: The ID of the volume to get.
:rtype: :class:`Volume`
"""
return self._get("/volumes/%s" % volume_id, "volume")
@@ -225,7 +225,7 @@ class VolumeManager(base.ManagerWithFind):
def update(self, volume, **kwargs):
"""Update the name or description for a volume.
:param volume: The :class:`Volume` to delete.
:param volume: The :class:`Volume` to update.
"""
if not kwargs:
return