From 485acda63b773e0b6e13e29d729647450dc190ea Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Tue, 9 Jul 2019 23:29:19 +0200 Subject: [PATCH] lib/relay: Call the proper Error method (ref #5806) (#5841) --- lib/relay/client/dynamic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/relay/client/dynamic.go b/lib/relay/client/dynamic.go index 7c07c2b51..314882f58 100644 --- a/lib/relay/client/dynamic.go +++ b/lib/relay/client/dynamic.go @@ -108,7 +108,7 @@ func (c *dynamicClient) Error() error { c.mut.RLock() defer c.mut.RUnlock() if c.client == nil { - return c.Error() + return c.commonClient.Error() } return c.client.Error() }