Skip to content

Commit

Permalink
单元测试方法
Browse files Browse the repository at this point in the history
  • Loading branch information
feiazifeiazi committed Sep 2, 2024
1 parent e9f374a commit 8e852a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/engines/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def get_connection(self, db_name=None):
self.conn = OpenSearch(
hosts=hosts,
http_auth=http_auth,
verify_certs=False, # 开启证书验证
verify_certs=True, # 开启证书验证
)
except Exception as e:
raise Exception(f"OpenSearch 连接建立失败: {str(e)}")
Expand Down

0 comments on commit 8e852a3

Please sign in to comment.