Remove pkg/errors; Update Gopkg.toml, but not GRPC because it breaks.

This commit is contained in:
Jae Kwon
2018-03-18 01:40:26 +01:00
parent 791f95bac3
commit 4e02184676
4 changed files with 5 additions and 10 deletions

View File

@@ -6,7 +6,6 @@ import (
"sync"
"time"
"github.com/pkg/errors"
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
@@ -105,7 +104,7 @@ func (cli *grpcClient) StopForError(err error) {
func (cli *grpcClient) Error() error {
cli.mtx.Lock()
defer cli.mtx.Unlock()
return errors.Wrap(cli.err, "grpc client error")
return cli.err
}
// Set listener for all responses