From b42927cbf48274bcf784a73813be61d9b16b191e Mon Sep 17 00:00:00 2001 From: Mathis Joffre <51022808+Joffref@users.noreply.github.com> Date: Tue, 9 Aug 2022 10:15:53 +0200 Subject: [PATCH] Update install procedure As describe here : https://golang.org/doc/go-get-install-deprecation, go get no longer works without a go module. Signed-off-by: Sugate --- content/docs/cnitool.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/cnitool.md b/content/docs/cnitool.md index 8e01585..b4db81f 100644 --- a/content/docs/cnitool.md +++ b/content/docs/cnitool.md @@ -27,8 +27,8 @@ add or remove an interface in an already-created network namespace. First, install cnitool: ```bash -go get github.com/containernetworking/cni -go install github.com/containernetworking/cni/cnitool +go install github.com/containernetworking/cni@latest +go install github.com/containernetworking/cni/cnitool@latest ``` Then, check out and build the plugins. All commands should be run from this directory.