Fix typos in the volumes and snapshots docstrings
Change-Id: I0e4f3813b8e263ea59e182db153c5b4c6fd2a177
This commit is contained in:

committed by
Gerrit Code Review

parent
596c909097
commit
ea8c9554c9
@@ -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
|
||||
|
@@ -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")
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user