mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
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 <distortedsignal@gmail.com>
This commit is contained in:
parent
78220fe380
commit
df9d74ade7
@ -31,7 +31,7 @@ This is an example of how to build a kubectl plugin using the same set of tools
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# assumes you have a working KUBECONFIG
|
# 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
|
# place the built binary somewhere in your PATH
|
||||||
$ cp ./kubectl-ns /usr/local/bin
|
$ cp ./kubectl-ns /usr/local/bin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user