From df9d74ade79d4f3b3017dd6366665d9eb6af11b8 Mon Sep 17 00:00:00 2001 From: Tom Kelley Date: Fri, 7 Jun 2019 11:13:40 -0700 Subject: [PATCH] Force using Go Modules in README.md Going through this README file, I was very confused when this failed to compile by using the commands provided. I think this change makes the intent of the README clearer. Signed-off-by: Tom Kelley --- staging/src/k8s.io/sample-cli-plugin/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/sample-cli-plugin/README.md b/staging/src/k8s.io/sample-cli-plugin/README.md index e59a1417ae4..ae30af6e3c9 100644 --- a/staging/src/k8s.io/sample-cli-plugin/README.md +++ b/staging/src/k8s.io/sample-cli-plugin/README.md @@ -31,7 +31,7 @@ This is an example of how to build a kubectl plugin using the same set of tools ```sh # assumes you have a working KUBECONFIG -$ go build cmd/kubectl-ns.go +$ GO111MODULE="on" go build cmd/kubectl-ns.go # place the built binary somewhere in your PATH $ cp ./kubectl-ns /usr/local/bin