Skip to content

Commit

Permalink
*: use errcode-gen in new location (#3221) (#3332)
Browse files Browse the repository at this point in the history
* cherry-pick #3221 to release-4.0

Signed-off-by: Zheng Xiangsheng <[email protected]>

* go mod tidy

Signed-off-by: Zheng Xiangsheng <[email protected]>

Co-authored-by: Zheng Xiangsheng <[email protected]>
  • Loading branch information
ti-srebot and HunDunDM authored Jan 5, 2021
1 parent f42cd28 commit 60a24ab
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 630 deletions.
4 changes: 2 additions & 2 deletions errors.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AUTOGENERATED BY github.com/pingcap/tiup/components/errdoc/errdoc-gen
# DO NOT EDIT THIS FILE, PLEASE CHANGE ERROR DEFINITION IF CONTENT IMPROPER.
# AUTOGENERATED BY github.com/pingcap/errors/errdoc-gen
# YOU CAN CHANGE THE 'description'/'workaround' FIELDS IF THEM ARE IMPROPER.

["PD:apiutil:ErrRedirect"]
error = '''
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ require (
github.com/mgechev/revive v1.0.2
github.com/montanaflynn/stats v0.5.0
github.com/opentracing/opentracing-go v1.1.0
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
github.com/phf/go-queue v0.0.0-20170504031614-9abe38d0371d
github.com/pingcap-incubator/tidb-dashboard v0.0.0-20201126111827-6c8be2240067
github.com/pingcap/check v0.0.0-20200212061837-5e12011dc712
github.com/pingcap/errcode v0.3.0
github.com/pingcap/errors v0.11.5-0.20200917111840-a15ef68f753d
github.com/pingcap/errors v0.11.5-0.20201126102027-b0a155152ca3
github.com/pingcap/failpoint v0.0.0-20200702092429-9f69995143ce
github.com/pingcap/kvproto v0.0.0-20200907074027-32a3a0accf7d
github.com/pingcap/log v0.0.0-20200511115504-543df19646ad
github.com/pingcap/sysutil v0.0.0-20201130064824-f0c8aa6a6966
github.com/pingcap/tiup v1.2.2
github.com/prometheus/client_golang v1.2.1
github.com/sasha-s/go-deadlock v0.2.0
github.com/sirupsen/logrus v1.4.2
Expand Down
Loading

0 comments on commit 60a24ab

Please sign in to comment.