mirror of https://github.com/jumpserver/jumpserver
fix: 修复创建 ES 存储 get_mapping index 使用位置参数
parent
77944cc91b
commit
665c833479
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue