From 2e2bd4ac624c97037bc2f07c100fb5f9d5bd4920 Mon Sep 17 00:00:00 2001 From: Tai Date: Thu, 21 May 2020 05:06:04 +0800 Subject: [PATCH 1/2] Update Go requirements --- pd-control.md | 2 +- pd-recover.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pd-control.md b/pd-control.md index 1ec037f80d108..d73187e4dae97 100644 --- a/pd-control.md +++ b/pd-control.md @@ -11,7 +11,7 @@ As a command line tool of PD, PD Control obtains the state information of the cl ## Compile from source code -1. [Go](https://golang.org/) Version 1.9 or later +1. [Go](https://golang.org/) Version 1.13 or later since we're using go modules 2. In the root directory of the [PD project](https://github.com/pingcap/pd), use the `make` command to compile and generate `bin/pd-ctl` > **Note:** diff --git a/pd-recover.md b/pd-recover.md index 82ec778b65a15..61d17d18c9079 100644 --- a/pd-recover.md +++ b/pd-recover.md @@ -11,7 +11,7 @@ PD Recover is a disaster recovery tool of PD, used to recover the PD cluster whi ## Source code compiling -1. [Go](https://golang.org/) Version 1.9 or later +1. [Go](https://golang.org/) Version 1.13 or later since we're using go modules 2. In the root directory of the [PD project](https://github.com/pingcap/pd), use the `make` command to compile and generate `bin/pd-recover` ## Usage From fcb6529833d1a2ea2f9aa448f6382cd026520756 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 29 May 2020 11:39:54 +0800 Subject: [PATCH 2/2] Apply suggestions from code review --- pd-control.md | 2 +- pd-recover.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pd-control.md b/pd-control.md index d73187e4dae97..32f63a80cb8aa 100644 --- a/pd-control.md +++ b/pd-control.md @@ -11,7 +11,7 @@ As a command line tool of PD, PD Control obtains the state information of the cl ## Compile from source code -1. [Go](https://golang.org/) Version 1.13 or later since we're using go modules +1. [Go](https://golang.org/) Version 1.13 or later because the Go modules are used. 2. In the root directory of the [PD project](https://github.com/pingcap/pd), use the `make` command to compile and generate `bin/pd-ctl` > **Note:** diff --git a/pd-recover.md b/pd-recover.md index 61d17d18c9079..00a27cbd3e455 100644 --- a/pd-recover.md +++ b/pd-recover.md @@ -11,7 +11,7 @@ PD Recover is a disaster recovery tool of PD, used to recover the PD cluster whi ## Source code compiling -1. [Go](https://golang.org/) Version 1.13 or later since we're using go modules +1. [Go](https://golang.org/) Version 1.13 or later because the Go modules are used. 2. In the root directory of the [PD project](https://github.com/pingcap/pd), use the `make` command to compile and generate `bin/pd-recover` ## Usage