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:
Anna Khmelnitsky 2017-07-04 13:16:06 -07:00
parent b01a18c210
commit a7826cb08d

View File

@ -126,6 +126,7 @@ class DbCertProvider(client_cert.ClientCertProvider):
self._on_exit()
def filename(self):
with self.lock:
return self._filename