From: lombardofr Date: Mon, 2 Dec 2019 11:18:30 +0000 (+0100) Subject: fix 895 X-Git-Tag: v7.0.0rc1~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=e96d058fe5c681052f45c1d794ba80b09b162c64;p=osm%2FLW-UI.git fix 895 Change-Id: Ie269b1336e6d4f9950e5f03fad3018cbe94351bd Signed-off-by: lombardofr --- 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)