From e96d058fe5c681052f45c1d794ba80b09b162c64 Mon Sep 17 00:00:00 2001 From: lombardofr Date: Mon, 2 Dec 2019 12:18:30 +0100 Subject: [PATCH] fix 895 Change-Id: Ie269b1336e6d4f9950e5f03fad3018cbe94351bd Signed-off-by: lombardofr --- lib/osm/osmclient/clientv2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/osm/osmclient/clientv2.py b/lib/osm/osmclient/clientv2.py index 6bb8c71..cee0647 100644 --- a/lib/osm/osmclient/clientv2.py +++ b/lib/osm/osmclient/clientv2.py @@ -116,7 +116,7 @@ class Client(object): _url = "{0}/admin/v1/roles/{1}".format(self._base_path, role_id) try: - r = requests.put(_url, json=role_data, verify=False, headers=headers) + r = requests.patch(_url, json=role_data, verify=False, headers=headers) except Exception as e: log.exception(e) result['data'] = str(e) -- 2.25.1