projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19c5cfc
)
Accept None for parameter ca_cert at vnf.py: N2VC.__init__
45/8145/1
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 11 Nov 2019 17:45:17 +0000
(17:45 +0000)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 11 Nov 2019 17:48:00 +0000
(17:48 +0000)
To be backward compatible with old LCM versions
Change-Id: I05c90d329051f948a569c17e0864a4c2123c28b0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
n2vc/vnf.py
patch
|
blob
|
history
diff --git
a/n2vc/vnf.py
b/n2vc/vnf.py
index
ef7b967
..
3bf51fa
100644
(file)
--- a/
n2vc/vnf.py
+++ b/
n2vc/vnf.py
@@
-266,8
+266,9
@@
class N2VC:
return cacert
- self.ca_cert = base64_to_cacert(ca_cert)
- # self.ca_cert = None
+ self.ca_cert = None
+ if ca_cert:
+ self.ca_cert = base64_to_cacert(ca_cert)
# Quiet websocket traffic