Skip to content

Commit

Permalink
Fixed marklogic-community#414: ENV vars override loaded prop values
Browse files Browse the repository at this point in the history
  • Loading branch information
grtjn committed Jul 1, 2015
1 parent 764c600 commit 09c17da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ def ServerConfig.load_properties(properties_filename, prefix = "")
if i
key = prefix + line[0..i - 1].strip
value = line[i + 1..-1].strip
properties[key] = value
properties[key] = ENV[key.sub("ml.", "ml_")] || value
end
end
end
Expand Down

0 comments on commit 09c17da

Please sign in to comment.