mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-24 14:02:01 +00:00
fix:修复es日期索引忽略证书的问题
This commit is contained in:
parent
3fde31f2e0
commit
710cd0fb3b
@ -84,7 +84,7 @@ class CommandStorage(CommonStorageModelMixin, CommonModelMixin):
|
|||||||
config = self.config
|
config = self.config
|
||||||
if self.type_es and config.get('INDEX_BY_DATE'):
|
if self.type_es and config.get('INDEX_BY_DATE'):
|
||||||
engine_mod = import_module(TYPE_ENGINE_MAPPING[self.type])
|
engine_mod = import_module(TYPE_ENGINE_MAPPING[self.type])
|
||||||
store = engine_mod.CommandStore(config)
|
store = engine_mod.CommandStore(dict(**config))
|
||||||
store._ensure_index_exists()
|
store._ensure_index_exists()
|
||||||
index_prefix = config.get('INDEX') or 'jumpserver'
|
index_prefix = config.get('INDEX') or 'jumpserver'
|
||||||
date = local_now_date_display()
|
date = local_now_date_display()
|
||||||
|
Loading…
Reference in New Issue
Block a user