diff --git a/vmware_nsx/plugins/nsx_v3/utils.py b/vmware_nsx/plugins/nsx_v3/utils.py index b7ec705492..46f585f442 100644 --- a/vmware_nsx/plugins/nsx_v3/utils.py +++ b/vmware_nsx/plugins/nsx_v3/utils.py @@ -126,7 +126,8 @@ class DbCertProvider(client_cert.ClientCertProvider): self._on_exit() def filename(self): - return self._filename + with self.lock: + return self._filename def get_client_cert_provider():