projects
/
osm
/
LW-UI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
158d873
)
fix 895
86/8286/1
author
lombardofr
<lombardo@everyup.it>
Mon, 2 Dec 2019 11:18:30 +0000
(12:18 +0100)
committer
lombardofr
<lombardo@everyup.it>
Mon, 2 Dec 2019 11:18:30 +0000
(12:18 +0100)
Change-Id: Ie269b1336e6d4f9950e5f03fad3018cbe94351bd
Signed-off-by: lombardofr <lombardo@everyup.it>
lib/osm/osmclient/clientv2.py
patch
|
blob
|
history
diff --git
a/lib/osm/osmclient/clientv2.py
b/lib/osm/osmclient/clientv2.py
index
6bb8c71
..
cee0647
100644
(file)
--- 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.p
ut
(_url, json=role_data, verify=False, headers=headers)
+ r = requests.p
atch
(_url, json=role_data, verify=False, headers=headers)
except Exception as e:
log.exception(e)
result['data'] = str(e)