Skip to content

Commit a1d0fc9

Browse files
remove isBadConn(err, false, node.Client.getAddr()) check
1 parent 8fadbef commit a1d0fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osscluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ func (c *ClusterClient) pipelineReadCmds(
14081408
continue
14091409
}
14101410

1411-
if c.opt.ReadOnly && isBadConn(err, false, node.Client.getAddr()) {
1411+
if c.opt.ReadOnly {
14121412
node.MarkAsFailing()
14131413
}
14141414

0 commit comments

Comments
 (0)