Skip to content

Commit 49c3eba

Browse files
authored
br: fix wrong error (#57002)
ref #55870, close #56999
1 parent cf5a617 commit 49c3eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

br/pkg/conn/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func NewMgr(
184184
return nil, errors.Errorf("unknown command type, comman code is %d", versionCheckerType)
185185
}
186186
if versionErr != nil {
187-
return nil, errors.Annotate(err, "running BR in incompatible version of cluster, "+
187+
return nil, errors.Annotate(versionErr, "running BR in incompatible version of cluster, "+
188188
"if you believe it's OK, use --check-requirements=false to skip.")
189189
}
190190
}

0 commit comments

Comments
 (0)