Fix typo on previous commit.
The peer and error were reversed for the regression test error message case. Spotted by @dajohi.
This commit is contained in:
parent
29b790b9c8
commit
ce2f68a982
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
@ -1086,7 +1086,7 @@ out:
|
||||||
// allowed errors.
|
// allowed errors.
|
||||||
if cfg.RegressionTest && p.isAllowedByRegression(err) {
|
if cfg.RegressionTest && p.isAllowedByRegression(err) {
|
||||||
peerLog.Errorf("Allowed regression test "+
|
peerLog.Errorf("Allowed regression test "+
|
||||||
"error from %s: %v", err, p.addr)
|
"error from %s: %v", p.addr, err)
|
||||||
idleTimer.Reset(idleTimeoutMinutes * time.Minute)
|
idleTimer.Reset(idleTimeoutMinutes * time.Minute)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue