From a743b7c1814b56dd21a75de79bd232c9ea6e2b18 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Wed, 25 Oct 2023 17:43:25 +0800 Subject: [PATCH] Fix secure bug Signed-off-by: Jael Gu --- milvus_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/milvus_client.py b/milvus_client.py index 202b232..f3dce28 100644 --- a/milvus_client.py +++ b/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)