To do this I
1. changed the name in go.mod and the Go code that used it,
2. ran `go mod tidy -go=1.15` and
3. ran `go mod vendor`.
Step 3 added another vendored dependency unrelated AFAIK to this change.
Added replace statement for apache/thrift, since it has been recently
moved from git.apache.org/thrift.git to github.com/apache/thrift, and is
causing `go get` to fail.
See https://github.com/jenkins-x/jx/pull/3321 for more detail.
Commands used:
GO111MODULE=on go get k8s.io/test-infra/boskos/client
GO111MODULE=on go mod vendor
This is needed for a coming PR to measure system uptime.
I separated vendor changes out, because they are larger while easier to
review.
This done via:
GO111MODULE=on go get github.com/shirou/gopsutil/host
GO111MODULE=on go mod vendor
OpenCensus requires a newer github.com/golang/protobuf/proto.
This is done via:
go get -u github.com/golang/protobuf/proto
godep update ./...
godep save ./...
This is generated using below commands:
go get -u -v go.opencensus.io/...
go get -u -v contrib.go.opencensus.io/exporter/prometheus
godep update ./...
godep save ./...