From ea8c9554c947b7fd30adfb1249a9317f258901ab Mon Sep 17 00:00:00 2001 From: Julie Pichon Date: Mon, 27 Jan 2014 14:28:28 +0000 Subject: [PATCH] Fix typos in the volumes and snapshots docstrings Change-Id: I0e4f3813b8e263ea59e182db153c5b4c6fd2a177 --- cinderclient/v1/volume_snapshots.py | 2 +- cinderclient/v1/volumes.py | 2 +- cinderclient/v2/volume_snapshots.py | 2 +- cinderclient/v2/volumes.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cinderclient/v1/volume_snapshots.py b/cinderclient/v1/volume_snapshots.py index 461d663cd..690fd0123 100644 --- a/cinderclient/v1/volume_snapshots.py +++ b/cinderclient/v1/volume_snapshots.py @@ -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 diff --git a/cinderclient/v1/volumes.py b/cinderclient/v1/volumes.py index 238e29f1d..96ad94de5 100644 --- a/cinderclient/v1/volumes.py +++ b/cinderclient/v1/volumes.py @@ -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") diff --git a/cinderclient/v2/volume_snapshots.py b/cinderclient/v2/volume_snapshots.py index 7e561d903..f232cf0f3 100644 --- a/cinderclient/v2/volume_snapshots.py +++ b/cinderclient/v2/volume_snapshots.py @@ -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 diff --git a/cinderclient/v2/volumes.py b/cinderclient/v2/volumes.py index 524456d6e..7f77bb96e 100644 --- a/cinderclient/v2/volumes.py +++ b/cinderclient/v2/volumes.py @@ -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