Code Review
/
pti
/
o2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
debfbda
)
Fix INF-331 the ocloud detail path allow to be empty
92/9492/1
author
Zhang Rong(Jon)
<rong.zhang@windriver.com>
Mon, 7 Nov 2022 07:25:24 +0000
(15:25 +0800)
committer
Zhang Rong(Jon)
<rong.zhang@windriver.com>
Mon, 7 Nov 2022 07:25:24 +0000
(15:25 +0800)
Issue-ID: INF-331
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ie8a477dc3148d827d4409135e7be096738767d33
o2ims/views/ocloud_route.py
patch
|
blob
|
history
diff --git
a/o2ims/views/ocloud_route.py
b/o2ims/views/ocloud_route.py
index
1e2a6f2
..
af5e8c6
100644
(file)
--- a/
o2ims/views/ocloud_route.py
+++ b/
o2ims/views/ocloud_route.py
@@
-49,7
+49,7
@@
class VersionRouter(Resource):
# ---------- OClouds ---------- #
-@api_ims_inventory_v1.route(
"/v1/"
)
+@api_ims_inventory_v1.route(
*["/v1", "/v1/"]
)
@api_ims_inventory_v1.response(404, 'oCloud not found')
@api_ims_inventory_v1.param(
'all_fields',