This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 86d0dd210 Update auth, dynamodb, eventbridge, firehose, ... to 2.25.26 
(#599)
86d0dd210 is described below

commit 86d0dd210554d56a7e60bd06ca9c19ba3a356e63
Author: scala-steward-asf[bot] 
<147768647+scala-steward-asf[bot]@users.noreply.github.com>
AuthorDate: Sun Apr 7 12:46:52 2024 +0200

    Update auth, dynamodb, eventbridge, firehose, ... to 2.25.26 (#599)
    
    * Update auth, dynamodb, eventbridge, firehose, ... to 2.25.26
    
    * Make type more explicit for Scala 3 compilation
    
    ---------
    
    Co-authored-by: scala-steward-asf[bot] 
<147768647+scala-steward-asf[bot]@users.noreply.github.com>
    Co-authored-by: Arnout Engelen <[email protected]>
---
 project/Dependencies.scala                                             | 2 +-
 s3/src/main/scala/org/apache/pekko/stream/connectors/s3/settings.scala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 48be0351d..e9e9a1753 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -26,7 +26,7 @@ object Dependencies {
   val InfluxDBJavaVersion = "2.23"
 
   val AvroVersion = "1.11.3"
-  val AwsSdk2Version = "2.25.21"
+  val AwsSdk2Version = "2.25.26"
   val AwsSdk2SqsVersion = "2.20.162" // latest AwsSdk2Version causes us test 
issues with SQS
   val AwsSpiPekkoHttpVersion = "0.1.1"
   val NettyVersion = "4.1.108.Final"
diff --git 
a/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/settings.scala 
b/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/settings.scala
index 4c85bee84..5e32a228a 100644
--- a/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/settings.scala
+++ b/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/settings.scala
@@ -596,7 +596,7 @@ object S3Settings {
             val aki = c.getString("aws.credentials.access-key-id")
             val sak = c.getString("aws.credentials.secret-access-key")
             val tokenPath = "aws.credentials.token"
-            val creds = if (c.hasPath(tokenPath)) {
+            val creds: AwsCredentials = if (c.hasPath(tokenPath)) {
               AwsSessionCredentials.create(aki, sak, c.getString(tokenPath))
             } else {
               AwsBasicCredentials.create(aki, sak)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to