summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-04-06 06:07:35 +0000
committerGerrit Code Review <review@openstack.org>2016-04-06 06:07:35 +0000
commit05495d508c364eb2361cade6846132aba808f2f9 (patch)
tree477502a52e068bf2351f6a573a00d081b63c605c /openstackclient
parentb1b5a2acdd7189699921687f7b3d582848448f4b (diff)
parent67a8947ea233584b41ee5dfb874a88fc43bcf4e9 (diff)
downloadpython-openstackclient-05495d508c364eb2361cade6846132aba808f2f9.tar.gz
Merge "Fix typos in docstrings and comments"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/api/api.py2
-rw-r--r--openstackclient/api/utils.py2
-rw-r--r--openstackclient/network/v2/subnet.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/api/api.py b/openstackclient/api/api.py
index 6a88e7f7..bd2abd88 100644
--- a/openstackclient/api/api.py
+++ b/openstackclient/api/api.py
@@ -331,7 +331,7 @@ class BaseAPI(KeystoneSession):
:param string path:
The API-specific portion of the URL path
- :param string search:
+ :param string value:
search expression
:param string attr:
name of attribute for secondary search
diff --git a/openstackclient/api/utils.py b/openstackclient/api/utils.py
index ab0e23c2..6407cd44 100644
--- a/openstackclient/api/utils.py
+++ b/openstackclient/api/utils.py
@@ -29,7 +29,7 @@ def simple_filter(
The name of the attribute to filter. If attr does not exist no
match will succeed and no rows will be returned. If attr is
None no filtering will be performed and all rows will be returned.
- :param sring value:
+ :param string value:
The value to filter. None is considered to be a 'no filter' value.
'' matches against a Python empty string.
:param string property_field:
diff --git a/openstackclient/network/v2/subnet.py b/openstackclient/network/v2/subnet.py
index da4f6536..10e5859a 100644
--- a/openstackclient/network/v2/subnet.py
+++ b/openstackclient/network/v2/subnet.py
@@ -95,7 +95,7 @@ def convert_entries_to_nexthop(entries):
def convert_entries_to_gateway(entries):
- # Change 'nexhop' entry to 'gateway'
+ # Change 'nexthop' entry to 'gateway'
changed_entries = copy.deepcopy(entries)
for entry in changed_entries:
entry['gateway'] = entry['nexthop']