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:
parent
4d4c7bcd15
commit
a83a42c70c
@ -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
|
||||
|
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user