diff --git a/Snowflake.Data/Core/FileTransfer/StorageClient/SFS3Client.cs b/Snowflake.Data/Core/FileTransfer/StorageClient/SFS3Client.cs index e68fbbd3e..3e9d3afa7 100644 --- a/Snowflake.Data/Core/FileTransfer/StorageClient/SFS3Client.cs +++ b/Snowflake.Data/Core/FileTransfer/StorageClient/SFS3Client.cs @@ -316,10 +316,10 @@ private static void SetCommonClientConfig( if(start > -1 && end > -1 && end > start) { endpoint = endpoint.Substring(start + 1, end - start - 1); - if(!endpoint.Contains("https")) - { - endpoint = "https://" + endpoint; - } + } + if (!endpoint.Contains("https")) + { + endpoint = "https://" + endpoint; } clientConfig.ServiceURL = endpoint; }