fix: latest go version requires using 'go install' instead of 'go get'. (#24419)

This commit is contained in:
Arash 2022-05-05 09:57:37 -05:00 committed by GitHub
parent f0319f9ced
commit d75378fe12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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 created for authentication between the etcd cluster and your validator. Here is
one way to do this: one way to do this:
With [Golang](https://golang.org/) installed, run `go get With [Golang](https://golang.org/) installed, run
github.com/cloudflare/cfssl/cmd/cfssl`. The `cfssl` program should now be `go install github.com/cloudflare/cfssl/cmd/cfssl@latest`. The `cfssl` program
available at `~/go/bin/cfssl`. Ensure `~/go/bin` is in your PATH by running should now be available at `~/go/bin/cfssl`. Ensure `~/go/bin` is in your PATH
`PATH=$PATH:~/go/bin/`. by running `PATH=$PATH:~/go/bin/`.
Now create a certificate directory and configuration file: Now create a certificate directory and configuration file:
``` ```