From 549dda6d610178e26da22b9f16a09f0f98a68585 Mon Sep 17 00:00:00 2001 From: delacruzramo Date: Thu, 14 Nov 2019 09:57:35 +0100 Subject: [PATCH] Fix allowed methods for K8sClusters Change-Id: I13227be31d71236fa55edb2219afe84b647f256e Signed-off-by: delacruzramo --- osm_nbi/nbi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index e2419cf..ac30a37 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -257,7 +257,7 @@ valid_url_methods = { }, "k8sclusters": {"METHODS": ("GET", "POST"), "ROLE_PERMISSION": "k8sclusters:", - "": {"METHODS": ("GET", "DELETE", "PATCH", "PUT"), + "": {"METHODS": ("GET", "DELETE", "PATCH"), "ROLE_PERMISSION": "k8sclusters:id:" } }, -- 2.25.1