Skip to content

Commit

Permalink
Fix GCS s3 compat disks
Browse files Browse the repository at this point in the history
  • Loading branch information
Algunenano committed Apr 26, 2023
1 parent 6d6188e commit 1107744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IO/S3/PocoHTTPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ void PocoHTTPClient::makeRequestInternal(
Poco::Logger * log = &Poco::Logger::get("AWSClient");

auto uri = request.GetUri().GetURIString();
#if 0
auto provider_type = getProviderTypeFromURL(uri);

if (provider_type == ProviderType::GCS)
Expand All @@ -269,6 +270,7 @@ void PocoHTTPClient::makeRequestInternal(
request.DeleteHeader("amz-sdk-invocation-id");
request.DeleteHeader("amz-sdk-request");
}
#endif

if (enable_s3_requests_logging)
LOG_TEST(log, "Make request to: {}", uri);
Expand Down

0 comments on commit 1107744

Please sign in to comment.