diff options
Diffstat (limited to 'control')
| -rw-r--r-- | control/controlhttp/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control/controlhttp/client.go b/control/controlhttp/client.go index 9b1d5a1a5..bf8d973e7 100644 --- a/control/controlhttp/client.go +++ b/control/controlhttp/client.go @@ -246,7 +246,7 @@ func (a *Dialer) dial(ctx context.Context) (*ClientConn, error) { results[i].conn = nil // so we don't close it in the defer return conn, nil } - merr := multierr.New(errs...) + merr := multierr.New(multierr.DeduplicateContextErrors(errs)...) // If we get here, then we didn't get anywhere with our dial plan; fall back to just using DNS. a.logf("controlhttp: failed dialing using DialPlan, falling back to DNS; errs=%s", merr.Error()) |
