mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
server: rename "master" branch references
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
57d9666974
commit
77c8033739
@ -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" ||
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user