fix bug 944 18/8318/1
authorlombardofr <lombardo@everyup.it>
Wed, 4 Dec 2019 14:04:31 +0000 (15:04 +0100)
committerlombardofr <lombardo@everyup.it>
Wed, 4 Dec 2019 14:04:31 +0000 (15:04 +0100)
Change-Id: I1ba9c124012364f3b8066aa58d78d473708fd0e2
Signed-off-by: lombardofr <lombardo@everyup.it>
lib/osm/osmclient/clientv2.py

index 8056d36..1820d2f 100644 (file)
@@ -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)