Skip to content

Commit

Permalink
Fixed config key resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
xea committed Feb 22, 2016
1 parent e48c317 commit 92baba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def reload
def get(spawn_id, key)
@config_monitor.synchronize do
spawn_cfg = @cached_data[spawn_id] || @cached_data[:global]
spawn_cfg[key]
spawn_cfg[key] || spawn_cfg[key.to_sym]
end
end

Expand Down

0 comments on commit 92baba9

Please sign in to comment.