Skip to content

Commit 1673d72

Browse files
committed
tiny fix
1 parent c61e22c commit 1673d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IO/S3/Client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ Client::doRequest(RequestType & request, RequestFn request_fn) const
733733

734734
// we possibly got new location, need to try with that one
735735
auto new_uri = getURIFromError(error);
736-
if (!new_uri && !new_region_detected)
736+
if (!new_uri)
737737
return result;
738738

739739
if (initial_endpoint.substr(11) == "amazonaws.com") // Check if user didn't mention any region

0 commit comments

Comments
 (0)