Fix typo in comment of several files
Typo in the spelling of 'against' (written as 'agaist') is observed in the comment of several files. Not everything was covered as part of Idefb5d70dba554e2ea732af9d53f4bbe7e49e557. Change-Id: Ie2ac2be3e18afdf644e02288f13f10c10f6bc723
This commit is contained in:
parent
bc6dc11339
commit
3732045c44
@ -251,7 +251,7 @@ class BaysController(rest.RestController):
|
|||||||
:param sort_key: column to sort results by. Default: id.
|
:param sort_key: column to sort results by. Default: id.
|
||||||
:param sort_dir: direction to sort. "asc" or "desc". Default: asc.
|
:param sort_dir: direction to sort. "asc" or "desc". Default: asc.
|
||||||
"""
|
"""
|
||||||
# NOTE(lucasagomes): /detail should only work agaist collections
|
# NOTE(lucasagomes): /detail should only work against collections
|
||||||
parent = pecan.request.path.split('/')[:-1][-1]
|
parent = pecan.request.path.split('/')[:-1][-1]
|
||||||
if parent != "bays":
|
if parent != "bays":
|
||||||
raise exception.HTTPNotFound
|
raise exception.HTTPNotFound
|
||||||
|
@ -274,7 +274,7 @@ class BayModelsController(rest.RestController):
|
|||||||
:param sort_key: column to sort results by. Default: id.
|
:param sort_key: column to sort results by. Default: id.
|
||||||
:param sort_dir: direction to sort. "asc" or "desc". Default: asc.
|
:param sort_dir: direction to sort. "asc" or "desc". Default: asc.
|
||||||
"""
|
"""
|
||||||
# NOTE(lucasagomes): /detail should only work agaist collections
|
# NOTE(lucasagomes): /detail should only work against collections
|
||||||
parent = pecan.request.path.split('/')[:-1][-1]
|
parent = pecan.request.path.split('/')[:-1][-1]
|
||||||
if parent != "baymodels":
|
if parent != "baymodels":
|
||||||
raise exception.HTTPNotFound
|
raise exception.HTTPNotFound
|
||||||
|
@ -174,7 +174,7 @@ class NodesController(rest.RestController):
|
|||||||
:param sort_key: column to sort results by. Default: id.
|
:param sort_key: column to sort results by. Default: id.
|
||||||
:param sort_dir: direction to sort. "asc" or "desc". Default: asc.
|
:param sort_dir: direction to sort. "asc" or "desc". Default: asc.
|
||||||
"""
|
"""
|
||||||
# NOTE(lucasagomes): /detail should only work agaist collections
|
# NOTE(lucasagomes): /detail should only work against collections
|
||||||
parent = pecan.request.path.split('/')[:-1][-1]
|
parent = pecan.request.path.split('/')[:-1][-1]
|
||||||
if parent != "nodes":
|
if parent != "nodes":
|
||||||
raise exception.HTTPNotFound
|
raise exception.HTTPNotFound
|
||||||
|
Loading…
Reference in New Issue
Block a user