lib/brillo/transferrer/s3.rb in brillo-1.2.0 vs lib/brillo/transferrer/s3.rb in brillo-1.2.1

- old
+ new

@@ -42,10 +42,10 @@ { region: transfer_config.region }.tap do |hash| # Don't explicitly set credentials if we have none # Doing so stops [automatic configuration](https://github.com/aws/aws-sdk-ruby#configuration) - return unless transfer_config.access_key_id + return hash unless transfer_config.access_key_id hash[:credentials] = Aws::Credentials.new( transfer_config.access_key_id, transfer_config.secret_access_key ) end