Skip to content

Commit 54d5617

Browse files
committed
fix TestIntegrationAzure failures, remove unnecessary strings.Trim
1 parent dc1db33 commit 54d5617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/storage/object_disk/object_disk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ func makeObjectDiskConnection(ctx context.Context, ch *clickhouse.ClickHouse, cf
503503
azureCfg.AccountName = creds.AzureAccountName
504504
}
505505
if azureURL.Path != "" {
506-
azureCfg.Path = strings.Trim(azureURL.Path, "/")
506+
azureCfg.Path = azureURL.Path
507507
if azureCfg.AccountName != "" && strings.HasPrefix(azureCfg.Path, "/"+creds.AzureAccountName) {
508508
azureCfg.Path = strings.TrimPrefix(azureURL.Path, "/"+creds.AzureAccountName)
509509
}

0 commit comments

Comments
 (0)