server: rename "master" branch references

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
Gyuho Lee 2021-05-12 10:37:35 -07:00
parent 57d9666974
commit 77c8033739
3 changed files with 3 additions and 3 deletions

View File

@ -463,7 +463,7 @@ func identifyDataDirOrDie(lg *zap.Logger, dir string) dirType {
}
func checkSupportArch() {
// to add a new platform, check https://github.com/etcd-io/website/blob/master/content/en/docs/next/op-guide/supported-platform.md
// to add a new platform, check https://github.com/etcd-io/website/blob/main/content/en/docs/next/op-guide/supported-platform.md
if runtime.GOARCH == "amd64" ||
runtime.GOARCH == "arm64" ||
runtime.GOARCH == "ppc64le" ||

View File

@ -563,7 +563,7 @@ func (c *RaftCluster) IsReadyToAddVotingMember() bool {
if nstarted == 1 && nmembers == 2 {
// a case of adding a new node to 1-member cluster for restoring cluster data
// https://github.com/etcd-io/website/blob/master/content/docs/v2/admin_guide.md#restoring-the-cluster
// https://github.com/etcd-io/website/blob/main/content/docs/v2/admin_guide.md#restoring-the-cluster
c.lg.Debug("number of started member is 1; can accept add member request")
return true
}

View File

@ -13,7 +13,7 @@
// limitations under the License.
// Package v2error describes errors in etcd project. When any change happens,
// https://github.com/etcd-io/website/blob/master/content/docs/v2/errorcode.md
// https://github.com/etcd-io/website/blob/main/content/docs/v2/errorcode.md
// needs to be updated correspondingly.
// To be deprecated in favor of v3 APIs.
package v2error