Trying to fix healthchecks again that suddenly fail

This commit is contained in:
Christoph Haas 2021-04-26 23:54:37 +02:00
parent 51c297c107
commit ea4e04dd33
2 changed files with 1 additions and 3 deletions

View file

@ -20,7 +20,7 @@ Healthcheck.configure do |config|
# config.add_check :environments, -> { Dotenv.require_keys('ENV_NAME', 'ANOTHER_ENV') }
config.add_check :env, -> {
['SALSA_OAUTH_KEY', 'SALSA_OAUTH_SECRET'].each do |key|
puts "checking for environment variable #{key}"
#puts "checking for environment variable #{key}"
raise "Env variable #{key} not set" unless ENV.key?(key)
end
}