From a8d4d04b1d06a1c1387dab0ff34357f74a753d0c Mon Sep 17 00:00:00 2001 From: John Martin Date: Tue, 7 Nov 2023 20:06:29 -0800 Subject: [PATCH] remove hardcoded virtual hosted (#14719) ## Description Follow up to https://github.com/MystenLabs/sui/pull/14707, missed a spot ## Test Plan I'll test on a testnet fullnode --- crates/sui-storage/src/object_store/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/sui-storage/src/object_store/mod.rs b/crates/sui-storage/src/object_store/mod.rs index a51b9f65d43eb..7514217168125 100644 --- a/crates/sui-storage/src/object_store/mod.rs +++ b/crates/sui-storage/src/object_store/mod.rs @@ -138,9 +138,7 @@ impl ObjectStoreConfig { builder = builder.with_secret_access_key(secret); } if let Some(endpoint) = &self.aws_endpoint { - builder = builder - .with_endpoint(endpoint) - .with_virtual_hosted_style_request(true); + builder = builder.with_endpoint(endpoint); } // if let Some(profile) = &self.aws_profile { // builder = builder.with_profile(profile);