From 6c7916154f90788bca52a10e160cdc96798c46d9 Mon Sep 17 00:00:00 2001 From: riccardo <106812074+riccardo-gnosis@users.noreply.github.com> Date: Fri, 30 Aug 2024 17:47:27 +0200 Subject: [PATCH] fix --- pkg/db/high_level_driver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/db/high_level_driver.go b/pkg/db/high_level_driver.go index 0c9249a..79c76a0 100644 --- a/pkg/db/high_level_driver.go +++ b/pkg/db/high_level_driver.go @@ -87,7 +87,7 @@ func ParseChUrlIntoOptionsHighLevel(url string) clickhouse.Options { }, }} if strings.Contains(fqdn, "clickhouse.cloud") { - options.Addr = []string{fmt.Sprintf("https://%s", fqdn)} + options.DialContext = nil // remove dial context options.Protocol = clickhouse.Native options.TLS = &tls.Config{} }