Merge pull request #12465 from spacewander/fdoc

chore: update the documentation link in the comment
This commit is contained in:
Sahdev Zala
2021-01-14 00:39:25 -05:00
committed by GitHub
3 changed files with 4 additions and 3 deletions

View File

@@ -556,7 +556,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/etcd/blob/master/Documentation/v2/admin_guide.md#restoring-the-cluster
// https://github.com/etcd-io/website/blob/master/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,8 @@
// limitations under the License.
// Package v2error describes errors in etcd project. When any change happens,
// Documentation/v2/errorcode.md needs to be updated correspondingly.
// https://github.com/etcd-io/website/blob/master/content/docs/v2/errorcode.md
// needs to be updated correspondingly.
// To be deprecated in favor of v3 APIs.
package v2error