Fix GCS s3 compat disks (#49194)

This commit is contained in:
Raúl Marín 2023-04-27 13:24:20 +02:00 committed by GitHub
parent 5c80a3dbc2
commit 0a192d1160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
@ -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);