Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/identity/hostdata/config_reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def default_configuration

def app_override_configuration
local_config_filepath = File.join(app_root, 'config', 'application.yml')
raw_configs = if Identity::Hostdata.in_datacenter?
raw_configs = if Identity::Hostdata.in_datacenter? && !ENV['LOGIN_SKIP_REMOTE_CONFIG']
app_secrets_s3.read_file(app_configuration_s3_path)
elsif File.exist?(local_config_filepath)
File.read(local_config_filepath)
Expand All @@ -62,7 +62,7 @@ def role_override_configuration
return {} if role_configuration_filename.nil?
local_config_filepath = File.join(app_root, 'config', role_configuration_filename)

raw_configs = if Identity::Hostdata.in_datacenter?
raw_configs = if Identity::Hostdata.in_datacenter? && !ENV['LOGIN_SKIP_REMOTE_CONFIG']
app_secrets_s3.read_file(role_configuration_s3_path)
elsif File.exist?(local_config_filepath)
File.read(local_config_filepath)
Expand Down
2 changes: 1 addition & 1 deletion lib/identity/hostdata/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true
module Identity
module Hostdata
VERSION = '3.4.1'
VERSION = '3.4.2'
end
end