This PR fixes the issue with the go install command failing due to a checksum mismatch error when downloading the etcd dependency. The error was caused by a change in the etcd package on the origin server, which invalidated the previously recorded checksum in the go.sum file. To resolve the issue, the latest checksum for the new package version has been added to the go.sum file.
Please review and merge this PR to fix the build error. Thank you!
> [8/9] RUN go get github.com/RichardKnop/go-oauth2-server:
#0 5.059 go: downloading github.com/urfave/cli v0.0.0-20180106191048-75104e932ac2
#0 5.068 go: downloading github.com/RichardKnop/go-fixtures v0.0.0-20181101035649-15577dcaa372
#0 5.253 go: downloading github.com/gorilla/mux v1.7.0
#0 5.267 go: downloading github.com/jinzhu/gorm v1.9.2
#0 5.395 go: downloading github.com/phyber/negroni-gzip v0.0.0-20180113114010-ef6356a5d029
#0 5.685 go: downloading github.com/urfave/negroni v1.0.0
#0 5.710 go: downloading gopkg.in/tylerb/graceful.v1 v1.2.15
#0 5.971 go: downloading github.com/coreos/etcd v3.3.12+incompatible
#0 11.57 verifying github.com/coreos/etcd@v3.3.12+incompatible: checksum mismatch
#0 11.57 downloaded: h1:pAWNwdf7QiT1zfaWyqCtNZQWCLByQyA3JrSQyuYAqnQ=
#0 11.57 go.sum: h1:5k8nkcBSvltjOO5RLflnXevOJXndlKIMbvVnMTX+cUU=
#0 11.57
#0 11.57 SECURITY ERROR
#0 11.57 This download does NOT match an earlier download recorded in go.sum.
#0 11.57 The bits may have been replaced on the origin server, or an attacker may
#0 11.57 have intercepted the download attempt.
#0 11.57
#0 11.57 For more information, see 'go help module-auth'.
------
Hi folks,
This PR fixes the issue with the go install command failing due to a checksum mismatch error when downloading the etcd dependency. The error was caused by a change in the etcd package on the origin server, which invalidated the previously recorded checksum in the go.sum file. To resolve the issue, the latest checksum for the new package version has been added to the go.sum file.
Please review and merge this PR to fix the build error. Thank you!