1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

[bug] Health API is broken if ElasticSearch is not present

This commit is contained in:
Sylvain 2020-07-01 15:13:44 +02:00
parent 4d4c7bcd15
commit a83a42c70c
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# Changelog Fab-manager
- Fix a bug: Health API is broken if ElasticSearch is not present
## v4.5.1 2020 July 1st
- Ability to run the upgrade without interactions

View File

@ -25,6 +25,8 @@ class HealthService
!!response.body # rubocop:disable Style/DoubleNegation
rescue Elasticsearch::Transport::Transport::Error
false
rescue Faraday::ConnectionFailed
false
end
def self.migrations?