From 65d7751138afc463c72f5c7a2981e7dcd4dbfbf8 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Wed, 25 Oct 2023 17:44:37 +0800 Subject: [PATCH] Fix secure bug Signed-off-by: Jael Gu --- milvus_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/milvus_client.py b/milvus_client.py index 47034b7..f9a3794 100644 --- a/milvus_client.py +++ b/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)