Skip to content

Commit 67a8947

Browse files
author
Dao Cong Tien
committed
Fix typos in docstrings and comments
Change-Id: Ic2dc057dca87212f715970f8325956c42f62ea9f
1 parent c3f6ee9 commit 67a8947

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

openstackclient/api/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def find(
331331
332332
:param string path:
333333
The API-specific portion of the URL path
334-
:param string search:
334+
:param string value:
335335
search expression
336336
:param string attr:
337337
name of attribute for secondary search

openstackclient/api/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def simple_filter(
2929
The name of the attribute to filter. If attr does not exist no
3030
match will succeed and no rows will be returned. If attr is
3131
None no filtering will be performed and all rows will be returned.
32-
:param sring value:
32+
:param string value:
3333
The value to filter. None is considered to be a 'no filter' value.
3434
'' matches against a Python empty string.
3535
:param string property_field:

openstackclient/network/v2/subnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def convert_entries_to_nexthop(entries):
9595

9696

9797
def convert_entries_to_gateway(entries):
98-
# Change 'nexhop' entry to 'gateway'
98+
# Change 'nexthop' entry to 'gateway'
9999
changed_entries = copy.deepcopy(entries)
100100
for entry in changed_entries:
101101
entry['gateway'] = entry['nexthop']

0 commit comments

Comments
 (0)