You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/06/26 21:53:37 UTC
[incubator-pekko-connectors] branch main updated: s3: fix infinite recursion (#186)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new cbc4f9df6 s3: fix infinite recursion (#186)
cbc4f9df6 is described below
commit cbc4f9df6a89246ef6e6ed89f4882943e1c325f4
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon Jun 26 22:53:33 2023 +0100
s3: fix infinite recursion (#186)
---
.../main/scala/org/apache/pekko/stream/connectors/s3/javadsl/S3.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/javadsl/S3.scala b/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/javadsl/S3.scala
index 832e4830b..b7392a073 100644
--- a/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/javadsl/S3.scala
+++ b/s3/src/main/scala/org/apache/pekko/stream/connectors/s3/javadsl/S3.scala
@@ -51,7 +51,7 @@ object S3 {
* @return a raw HTTP response from S3
*/
def request(bucket: String, key: String, method: HttpMethod, s3Headers: S3Headers): Source[HttpResponse, NotUsed] =
- request(bucket, key, method, s3Headers)
+ request(bucket, key, Optional.empty(), method, s3Headers)
/**
* Use this for a low level access to S3.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org