Skip to content

Commit 2183c2a

Browse files
committed
Fix wrong DNS option separator in last commit
1 parent d399135 commit 2183c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/monitor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func (cluster *Cluster) newServerMonitor(url string, user string, pass string) (
160160
errmsg := fmt.Errorf("ERROR: DNS resolution error for host %s", server.Host)
161161
return server, errmsg
162162
}
163-
params := fmt.Sprintf("?timeout=%ds,readTimeout=%ds", cluster.conf.Timeout, cluster.conf.ReadTimeout)
163+
params := fmt.Sprintf("?timeout=%ds&readTimeout=%ds", cluster.conf.Timeout, cluster.conf.ReadTimeout)
164164
mydsn := func() string {
165165
dsn := server.User + ":" + server.Pass + "@"
166166
if server.Host != "" {

0 commit comments

Comments
 (0)