From b884f0c31faf03c960f4c0303ca15e412240e7b0 Mon Sep 17 00:00:00 2001 From: Piotr Wyderski Date: Fri, 15 Mar 2024 13:01:31 +0100 Subject: [PATCH] Linter --- src/baseclient.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/baseclient.cc b/src/baseclient.cc index f796d0b..de0f5e9 100644 --- a/src/baseclient.cc +++ b/src/baseclient.cc @@ -282,7 +282,8 @@ minio::s3::BucketExistsResponse minio::s3::BaseClient::BucketExists( if (GetRegionResponse resp = GetRegion(args.bucket, args.region)) { region = resp.region; } else { - return (resp.code == "NoSuchBucket") ? BucketExistsResponse(false) : BucketExistsResponse(resp); + return (resp.code == "NoSuchBucket") ? BucketExistsResponse(false) + : BucketExistsResponse(resp); } Request req(http::Method::kHead, region, base_url_, args.extra_headers, @@ -291,7 +292,8 @@ minio::s3::BucketExistsResponse minio::s3::BaseClient::BucketExists( if (Response resp = Execute(req)) { return true; } else { - return (resp.code == "NoSuchBucket") ? BucketExistsResponse(false) : BucketExistsResponse(resp); + return (resp.code == "NoSuchBucket") ? BucketExistsResponse(false) + : BucketExistsResponse(resp); } }