add workaround for error "multiple registrations for /debug/requests" (#183)

This commit is contained in:
littleskunk 2018-07-31 21:53:47 +02:00 committed by JT Olio
parent f1ff9d32c4
commit 657ee35aaa

View File

@ -59,10 +59,11 @@ git clone https://github.com/storj/storj $GOPATH/src/storj.io/storj
go get -t storj.io/storj/...
```
Fix error message `cannot use "github.com/minio/cli"` See https://github.com/minio/minio/issues/5974 for more details.
Fix error message `cannot use "github.com/minio/cli"` and `panic: http: multiple registrations for /debug/requests` See https://github.com/minio/minio/issues/5974 for more details.
```bash
go get -t github.com/minio/cli && rm -rf $GOPATH/src/github.com/minio/minio/vendor/github.com/minio/cli
rm -rf $GOPATH/src/github.com/minio/minio/vendor/github.com/minio/cli
rm -rf $GOPATH/src/github.com/minio/minio/vendor/golang.org/x/net/trace
go get -t storj.io/storj/...
```