Skip to content

Commit

Permalink
单元测试方法
Browse files Browse the repository at this point in the history
  • Loading branch information
feiazifeiazi authored and LeoQuote committed Sep 19, 2024
1 parent 42a25d1 commit d2fdf79
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 d2fdf79

Please sign in to comment.