From: lombardofr Date: Wed, 4 Dec 2019 14:04:31 +0000 (+0100) Subject: fix bug 944 X-Git-Tag: v7.0.0rc1~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=7aae41b7f483b4de72af0632f4526d7eff2b42e9;p=osm%2FLW-UI.git fix bug 944 Change-Id: I1ba9c124012364f3b8066aa58d78d473708fd0e2 Signed-off-by: lombardofr --- diff --git a/lib/osm/osmclient/clientv2.py b/lib/osm/osmclient/clientv2.py index 8056d36..1820d2f 100644 --- a/lib/osm/osmclient/clientv2.py +++ b/lib/osm/osmclient/clientv2.py @@ -334,7 +334,7 @@ class Client(object): _url = "{0}/admin/v1/projects/{1}".format(self._base_path, id) try: - r = requests.put(_url, json=project_data, verify=False, headers=headers) + r = requests.patch(_url, json=project_data, verify=False, headers=headers) except Exception as e: log.exception(e) result['data'] = str(e)