Skip to content

Commit 81702c9

Browse files
authored
[FSTORE-1567] Fix login error messages (#364)
1 parent 39eb6e6 commit 81702c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/hopsworks_common/connection.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,8 @@ def close(self) -> None:
457457
"""
458458
from hsfs import engine
459459

460-
OpenSearchClientSingleton().close()
460+
if OpenSearchClientSingleton._instance:
461+
OpenSearchClientSingleton().close()
461462
client.stop()
462463
engine.stop()
463464
self._feature_store_api = None

0 commit comments

Comments
 (0)