Skip to content

Commit

Permalink
br: fix wrong error (#57002)
Browse files Browse the repository at this point in the history
ref #55870, close #56999
  • Loading branch information
Leavrth authored Oct 30, 2024
1 parent cf5a617 commit 49c3eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/conn/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func NewMgr(
return nil, errors.Errorf("unknown command type, comman code is %d", versionCheckerType)
}
if versionErr != nil {
return nil, errors.Annotate(err, "running BR in incompatible version of cluster, "+
return nil, errors.Annotate(versionErr, "running BR in incompatible version of cluster, "+
"if you believe it's OK, use --check-requirements=false to skip.")
}
}
Expand Down

0 comments on commit 49c3eba

Please sign in to comment.