mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Fix typos in docstrings and comments"
This commit is contained in:
commit
05495d508c
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue