projects
/
osm
/
NBI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79e40f4
)
Fix allowed methods for K8sClusters
67/8167/1
author
delacruzramo
<pedro.delacruzramos@altran.com>
Thu, 14 Nov 2019 08:57:35 +0000
(09:57 +0100)
committer
delacruzramo
<pedro.delacruzramos@altran.com>
Thu, 14 Nov 2019 08:57:35 +0000
(09:57 +0100)
Change-Id: I13227be31d71236fa55edb2219afe84b647f256e
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
osm_nbi/nbi.py
patch
|
blob
|
history
diff --git
a/osm_nbi/nbi.py
b/osm_nbi/nbi.py
index
e2419cf
..
ac30a37
100644
(file)
--- a/
osm_nbi/nbi.py
+++ b/
osm_nbi/nbi.py
@@
-257,7
+257,7
@@
valid_url_methods = {
},
"k8sclusters": {"METHODS": ("GET", "POST"),
"ROLE_PERMISSION": "k8sclusters:",
- "<ID>": {"METHODS": ("GET", "DELETE", "PATCH"
, "PUT"
),
+ "<ID>": {"METHODS": ("GET", "DELETE", "PATCH"),
"ROLE_PERMISSION": "k8sclusters:id:"
}
},