Skip to content

Commit 139e1d0

Browse files
committed
correctly revert to SharedCredentials over ECSCredentials
Signed-off-by: Joshua Atkins <[email protected]>
1 parent 3ac64e5 commit 139e1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_s3.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def setup_credentials
218218
c = @shared_credentials
219219
credentials_options[:path] = c.path if c.path
220220
credentials_options[:profile_name] = c.profile_name if c.profile_name
221-
options[:credentials] = Aws::ECSCredentials.new(credentials_options)
221+
options[:credentials] = Aws::SharedCredentials.new(credentials_options)
222222
else
223223
# Use default credentials
224224
# See http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Client.html

0 commit comments

Comments
 (0)