Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #356 from atward/fix-config-hash
Browse files Browse the repository at this point in the history
Fix generation of hash in config.
  • Loading branch information
paulczar committed Sep 19, 2014
2 parents c69d12a + d58856b commit 12c188f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/logstash_conf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def self.value_to_str(v, indent = 0)
when Array
"[#{v.map { |e| value_to_str(e, indent) }.join(', ')}]"
when Hash, Mash
'{\n' + hash_to_str(v, indent) + '\n' + indent(indent) + '}'
"{\n" + hash_to_str(v, indent) + "\n" + indent(indent) + '}'
when TrueClass, FalseClass
v.to_s
else
Expand Down

0 comments on commit 12c188f

Please sign in to comment.