From d75378fe12d978e162b8625838dcde859374d9a0 Mon Sep 17 00:00:00 2001 From: Arash <71556187+backbone-link@users.noreply.github.com> Date: Thu, 5 May 2022 09:57:37 -0500 Subject: [PATCH] fix: latest go version requires using 'go install' instead of 'go get'. (#24419) --- docs/src/running-validator/validator-failover.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/running-validator/validator-failover.md b/docs/src/running-validator/validator-failover.md index f2632571f..34968b736 100644 --- a/docs/src/running-validator/validator-failover.md +++ b/docs/src/running-validator/validator-failover.md @@ -30,10 +30,10 @@ First install `etcd` as desired for your machine. Then TLS certificates must be created for authentication between the etcd cluster and your validator. Here is one way to do this: -With [Golang](https://golang.org/) installed, run `go get -github.com/cloudflare/cfssl/cmd/cfssl`. The `cfssl` program should now be -available at `~/go/bin/cfssl`. Ensure `~/go/bin` is in your PATH by running -`PATH=$PATH:~/go/bin/`. +With [Golang](https://golang.org/) installed, run +`go install github.com/cloudflare/cfssl/cmd/cfssl@latest`. The `cfssl` program +should now be available at `~/go/bin/cfssl`. Ensure `~/go/bin` is in your PATH +by running `PATH=$PATH:~/go/bin/`. Now create a certificate directory and configuration file: ```