logo
Browse Source

Fix secure bug

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 1 year ago
parent
commit
a743b7c181
  1. 4
      milvus_client.py

4
milvus_client.py

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

Loading…
Cancel
Save