logo
Browse Source

Fix secure bug

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
65d7751138
  1. 2
      milvus_client.py

2
milvus_client.py

@ -50,6 +50,8 @@ class MilvusClient(PyOperator):
raise ConnectionError('Received invalid connection arguments.')
if any(x is None for x in [token, user, password]):
self._connection_args['secure'] = False
else:
self._connection_args['secure'] = True
connections.connect(**self._connection_args)

Loading…
Cancel
Save