From 665bc6da8999ba2412958d3a12bbe25f67239b64 Mon Sep 17 00:00:00 2001 From: John Gardiner Myers Date: Mon, 27 Jul 2020 08:48:27 -0700 Subject: [PATCH] Update instructions for fixing verify-gomod.sh --- Makefile | 1 + go.sum | 2 -- hack/verify-gomod.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 250bbd41a36bd..661c5931abd8c 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/go.sum b/go.sum index e13f26cc4c0df..1ece4879b2504 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/hack/verify-gomod.sh b/hack/verify-gomod.sh index 68056d8456221..d7e76e0540ba7 100755 --- a/hack/verify-gomod.sh +++ b/hack/verify-gomod.sh @@ -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:"