lib/connections: Actually record connection errors (#6361)

This commit is contained in:
Jakob Borg authored and GitHub committed 2020-02-25 16:56:24 +01:00
1 parent f0e33d052a
commit 55238e3b5b
1 file changed
+1 -1
+1 -1
View File
@@ -713,7 +713,7 @@ func (s *service) ConnectionStatus() map[string]ConnectionStatusEntry {
}
func (s *service) setConnectionStatus(address string, err error) {
if errors.Cause(err) != context.Canceled {
if errors.Cause(err) == context.Canceled {
return
}