better error message for wrong es version, #197

This commit is contained in:
simon 2022-04-09 14:12:03 +07:00
parent 99e0c1c90e
commit d8c7b3df0b
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 3 deletions

View File

@ -97,9 +97,8 @@ class StartupCheck:
if invalid:
print(
"minial required elasticsearch version: "
+ f"{self.MIN_MAJOR}.{self.MIN_MINOR}, "
+ "please update to recommended version."
"required elasticsearch version: "
+ f"{self.MIN_MAJOR}.{self.MIN_MINOR}"
)
sys.exit(1)