From 7aae41b7f483b4de72af0632f4526d7eff2b42e9 Mon Sep 17 00:00:00 2001 From: lombardofr Date: Wed, 4 Dec 2019 15:04:31 +0100 Subject: [PATCH] fix bug 944 Change-Id: I1ba9c124012364f3b8066aa58d78d473708fd0e2 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 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) -- 2.25.1