fix: 修复创建 ES 存储 get_mapping index 使用位置参数

pull/11111/head
Bai 2023-07-27 10:42:05 +08:00 committed by Bryan
parent 77944cc91b
commit 665c833479
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class ES(object):
try:
# 获取索引信息,如果没有定义,直接返回
data = self.es.indices.get_mapping(self.index)
data = self.es.indices.get_mapping(index=self.index)
except NotFoundError:
return False