mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 05:00:16 +00:00
better error message for wrong es version, #197
This commit is contained in:
parent
99e0c1c90e
commit
d8c7b3df0b
@ -97,9 +97,8 @@ class StartupCheck:
|
|||||||
|
|
||||||
if invalid:
|
if invalid:
|
||||||
print(
|
print(
|
||||||
"minial required elasticsearch version: "
|
"required elasticsearch version: "
|
||||||
+ f"{self.MIN_MAJOR}.{self.MIN_MINOR}, "
|
+ f"{self.MIN_MAJOR}.{self.MIN_MINOR}"
|
||||||
+ "please update to recommended version."
|
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user