lib/fluent/plugin/out_s3.rb in fluent-plugin-s3-hubspot-1.0.0.rc6.4 vs lib/fluent/plugin/out_s3.rb in fluent-plugin-s3-hubspot-1.0.0.rc6.5

- old
+ new

@@ -283,10 +283,10 @@ put_options[:acl] = @acl if @acl if @s3_metadata put_options[:metadata] = {} @s3_metadata.each do |k, v| - put_options[:metadata][k] = extract_placeholders(v, metadata) + put_options[:metadata][k] = extract_placeholders(v, metadata).gsub(%r(%{[^}]+}), {"%{index}" => i}) end end @bucket.object(s3path).put(put_options) @values_for_s3_object_chunk.delete(chunk.unique_id)