ann-insert
copied
Fix secure bug
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
@ -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:
connections.connect(**self._connection_args)