diff options
| author | Swapnil Kulkarni <me@coolsvap.net> | 2015-05-13 11:31:45 +0000 |
|---|---|---|
| committer | Swapnil Kulkarni <me@coolsvap.net> | 2015-05-13 11:34:35 +0000 |
| commit | 5fb6f5c76bf72b8e950a68cfe5159b04a5da166f (patch) | |
| tree | fdd3aa64b19852e62179f38c60a010709e53d4f7 /cinderclient/v1 | |
| parent | 09bfc76c023540f832194b7508f69e4a3c96c774 (diff) | |
| download | python-cinderclient-5fb6f5c76bf72b8e950a68cfe5159b04a5da166f.tar.gz | |
Fixed typos and repeated docstrings
Updates in
[1] volume_snapshots.py (v1 & v2)
[2] qos_specs.py (v1 & v2)
[3] volumes.py
Closes-Bug: #1343844
Co-Authored-By: Chandan Kumar <chkumar246@gmail.com>
Change-Id: I867a9eae6e1907b941e49928c6aa976d261d159a
Diffstat (limited to 'cinderclient/v1')
| -rw-r--r-- | cinderclient/v1/qos_specs.py | 4 | ||||
| -rw-r--r-- | cinderclient/v1/volume_snapshots.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cinderclient/v1/qos_specs.py b/cinderclient/v1/qos_specs.py index b4e4272..c7944cb 100644 --- a/cinderclient/v1/qos_specs.py +++ b/cinderclient/v1/qos_specs.py @@ -86,7 +86,7 @@ class QoSSpecsManager(base.ManagerWithFind): return self._create("/qos-specs", body, "qos_specs") def set_keys(self, qos_specs, specs): - """Update a qos specs with new specifications. + """Add/Update keys in a qos_specs. :param qos_specs: The ID of qos specs :param specs: A dict of key/value pairs to be set @@ -101,7 +101,7 @@ class QoSSpecsManager(base.ManagerWithFind): return self._update("/qos-specs/%s" % qos_specs, body) def unset_keys(self, qos_specs, specs): - """Update a qos specs with new specifications. + """Remove keys from a qos specs. :param qos_specs: The ID of qos specs :param specs: A list of key to be unset diff --git a/cinderclient/v1/volume_snapshots.py b/cinderclient/v1/volume_snapshots.py index 690fd01..4b4ce60 100644 --- a/cinderclient/v1/volume_snapshots.py +++ b/cinderclient/v1/volume_snapshots.py @@ -54,7 +54,7 @@ class Snapshot(base.Resource): return self._info.get('os-extended-snapshot-attributes:project_id') def reset_state(self, state): - """Update the snapshot with the privided state.""" + """Update the snapshot with the provided state.""" self.manager.reset_state(self, state) def set_metadata(self, metadata): |
