Skip to content

Commit

Permalink
Merge pull request #9636 from johngmyers/gomod-verify
Browse files Browse the repository at this point in the history
Update instructions for fixing verify-gomod.sh
  • Loading branch information
k8s-ci-robot authored Jul 27, 2020
2 parents 85ade4c + 665bc6d commit df6ad78
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ gomod-prereqs:

.PHONY: gomod
gomod: gomod-prereqs
GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor
# Switch weavemesh to use peer_name_hash - bazel rule-go doesn't support build tags yet
rm vendor/github.com/weaveworks/mesh/peer_name_mac.go
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:l
github.com/auth0/go-jwt-middleware v0.0.0-20170425171159-5493cabe49f7/go.mod h1:LWMyo4iOLWXHGdBki7NIht1kHru/0wM179h+d3g8ATM=
github.com/aws/aws-sdk-go v1.16.26/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.28.2/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.30.16 h1:1eabOZiVGl+XB02/VG9NpR+3fngaNc74pgb5RmyzgLY=
github.com/aws/aws-sdk-go v1.30.16/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.32.13 h1:zzyXF7SUxJcJa3hTcYCl1/Ey+kh2N8TjK5tWnL0wieo=
github.com/aws/aws-sdk-go v1.32.13/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/bazelbuild/bazel-gazelle v0.18.2/go.mod h1:D0ehMSbS+vesFsLGiD6JXu3mVEzOlfUl8wNnq+x/9p0=
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-gomod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ make gomod

changes=$(git status --porcelain || true)
if [ -n "${changes}" ]; then
echo "ERROR: go modules are not up to date; please run: go mod tidy"
echo "ERROR: go modules are not up to date; please run: make gomod"
echo "changed files:"
printf "%s" "${changes}\n"
echo "git diff:"
Expand Down

0 comments on commit df6ad78

Please sign in to comment.