Skip to content

Commit

Permalink
deps: remove pkg errors (tendermint#6666)
Browse files Browse the repository at this point in the history
## Description

remove pkg/errors since we use the provided fmt.Errorf
  • Loading branch information
tac0turtle authored Jul 7, 2021
1 parent d4cda54 commit 96863de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ require (
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/oasisprotocol/curve25519-voi v0.0.0-20210609091139-0a56a4bca00b
github.com/ory/dockertest v3.3.5+incompatible
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.11.0
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0
github.com/rs/cors v1.8.0
Expand Down
3 changes: 1 addition & 2 deletions scripts/keymigrate/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"sync"

"github.com/google/orderedcode"
"github.com/pkg/errors"
dbm "github.com/tendermint/tm-db"
)

Expand Down Expand Up @@ -395,7 +394,7 @@ func Migrate(ctx context.Context, db dbm.DB) error {

// check the error results
if len(errs) != 0 {
return errors.Errorf("encountered errors during migration: %v", errStrs)
return fmt.Errorf("encountered errors during migration: %v", errStrs)
}

return nil
Expand Down

0 comments on commit 96863de

Please sign in to comment.