diff --git a/pkg/errs/errno.go b/pkg/errs/errno.go index 5fc3e8a685e9..2a7087e09267 100644 --- a/pkg/errs/errno.go +++ b/pkg/errs/errno.go @@ -25,7 +25,7 @@ var ( // member errors var ( - ErretcdLeaderNotFound = errors.Normalize("etcd leader not found", errors.RFCCodeText("PD:member:ErretcdLeaderNotFound")) + ErrEtcdLeaderNotFound = errors.Normalize("etcd leader not found", errors.RFCCodeText("PD:member:ErrEtcdLeaderNotFound")) ErrMarshalLeader = errors.Normalize("marshal leader failed", errors.RFCCodeText("PD:member:ErrMarshalLeader")) )