Merge pull request #60204 from nickitat/fix_head_bucket_after_update

Fix bucket region discovery
This commit is contained in:
Nikita Taranov 2024-02-24 23:46:43 +01:00 committed by GitHub
commit 30d31d4d9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
contrib/aws vendored

@ -1 +1 @@
Subproject commit 9eb5097a0abfa837722cca7a5114a25837817bf2
Subproject commit 5f0542b3ad7eef25b0540d37d778207e0345ea8f

View File

@ -715,7 +715,7 @@ std::string Client::getRegionForBucket(const std::string & bucket, bool force_de
if (outcome.IsSuccess())
{
const auto & result = outcome.GetResult();
region = result.GetRegion();
region = result.GetBucketRegion();
}
else
{