Skip to content

Commit

Permalink
Small fix in release 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Jul 10, 2023
1 parent ba17a3a commit 964059e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/health_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def index
def environment_variables(keys = [])
keys += %w(DATABASE_URL REDIS_URL SECRET_KEY_BASE) if Rails.env.production? || Rails.env.staging?
keys += %w(UPVS_KS_SALT UPVS_PK_SALT) if Upvs.env.prod?
keys += %w(SSO_PROXY_SUBJECT) if (UpvsEnvironment.obo_support? || UpvsEnvironment.sso_support?)
keys += %w(SSO_PROXY_SUBJECT) if UpvsEnvironment.obo_support?
keys += %w(SSO_SP_SUBJECT LOGIN_CALLBACK_URL LOGOUT_CALLBACK_URL) if UpvsEnvironment.sso_support?
unset = keys.select { |v| ENV[v].blank? }
raise "Unset environment variables #{unset.to_sentence}" if unset.any?
Expand Down

0 comments on commit 964059e

Please sign in to comment.