Merge "Fix typo in comment of several files"
This commit is contained in:
commit
9260fc8038
|
@ -251,7 +251,7 @@ class BaysController(rest.RestController):
|
|||
:param sort_key: column to sort results by. Default: id.
|
||||
: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]
|
||||
if parent != "bays":
|
||||
raise exception.HTTPNotFound
|
||||
|
|
|
@ -274,7 +274,7 @@ class BayModelsController(rest.RestController):
|
|||
:param sort_key: column to sort results by. Default: id.
|
||||
: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]
|
||||
if parent != "baymodels":
|
||||
raise exception.HTTPNotFound
|
||||
|
|
|
@ -174,7 +174,7 @@ class NodesController(rest.RestController):
|
|||
:param sort_key: column to sort results by. Default: id.
|
||||
: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]
|
||||
if parent != "nodes":
|
||||
raise exception.HTTPNotFound
|
||||
|
|
Loading…
Reference in New Issue