lib/fluent/plugin/out_flowcounter.rb in fluent-plugin-flowcounter-0.4.0 vs lib/fluent/plugin/out_flowcounter.rb in fluent-plugin-flowcounter-0.4.1

- old
+ new

@@ -65,10 +65,10 @@ if @input_tag_remove_prefix @removed_prefix_string = @input_tag_remove_prefix + '.' @removed_length = @removed_prefix_string.length end if @count_keys - @count_keys = @count_keys.split(',') + @count_keys = @count_keys.split(',').map(&:strip) @count_all = (@count_keys == ['*']) @count_bytes = true else @count_bytes = false end