NSXv3: Add lock around filename in cert provider
filename function is not supposed to be called outside with block, but better be safe then sorry Change-Id: Icad41bd2f8b3520cb521fb8d43b86d6130eb9442
This commit is contained in:
parent
b01a18c210
commit
a7826cb08d
@ -126,6 +126,7 @@ class DbCertProvider(client_cert.ClientCertProvider):
|
|||||||
self._on_exit()
|
self._on_exit()
|
||||||
|
|
||||||
def filename(self):
|
def filename(self):
|
||||||
|
with self.lock:
|
||||||
return self._filename
|
return self._filename
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user