Skip to content

Commit

Permalink
Merge pull request #3 from gnosischain/driver-high-level-fix
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
riccardo-gnosis authored Aug 30, 2024
2 parents 3241fec + 6c79161 commit 4da1ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/high_level_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}
Expand Down

0 comments on commit 4da1ec9

Please sign in to comment.