mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 09:49:34 +00:00
fix startup migration error missing enable_snapshot var
This commit is contained in:
@@ -85,8 +85,8 @@ class StartupCheck:
|
|||||||
|
|
||||||
def snapshot_check(self):
|
def snapshot_check(self):
|
||||||
"""setup snapshot config, create if needed"""
|
"""setup snapshot config, create if needed"""
|
||||||
active = self.config_handler.config["application"]["enable_snapshot"]
|
app = self.config_handler.config["application"]
|
||||||
if not active:
|
if not app.get("enable_snapshot"):
|
||||||
return
|
return
|
||||||
|
|
||||||
ElasticSnapshot().setup()
|
ElasticSnapshot().setup()
|
||||||
|
|||||||
Reference in New Issue
Block a user