From ce2f68a982a9f0446fe9eabf11fe37bbc2843436 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 28 Feb 2014 10:55:00 -0600 Subject: [PATCH] Fix typo on previous commit. The peer and error were reversed for the regression test error message case. Spotted by @dajohi. --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 609062ec..40970eea 100644 --- a/peer.go +++ b/peer.go @@ -1086,7 +1086,7 @@ out: // allowed errors. if cfg.RegressionTest && p.isAllowedByRegression(err) { peerLog.Errorf("Allowed regression test "+ - "error from %s: %v", err, p.addr) + "error from %s: %v", p.addr, err) idleTimer.Reset(idleTimeoutMinutes * time.Minute) continue }