From 55df4e6ef3b468420404cb4e6df17f46c4e0eedc Mon Sep 17 00:00:00 2001 From: Atul Kumar Date: Sat, 15 Oct 2022 18:32:08 +0530 Subject: [PATCH 1/2] etcdmain: Updates v3.5 supported platform docs Signed-off-by: Atul Kumar (katul979@gmail.com) Signed-off-by: Atul Kumar --- server/etcdmain/etcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/etcdmain/etcd.go b/server/etcdmain/etcd.go index 0fc08a43178..4397ef0d02e 100644 --- a/server/etcdmain/etcd.go +++ b/server/etcdmain/etcd.go @@ -260,7 +260,7 @@ func checkSupportArch() { if err != nil { panic(err) } - // to add a new platform, check https://github.com/etcd-io/website/blob/main/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/v3.5/op-guide/supported-platform.md if runtime.GOARCH == "amd64" || runtime.GOARCH == "arm64" || runtime.GOARCH == "ppc64le" || From 24bd276915bf53d204075606243c0cf64f8d272b Mon Sep 17 00:00:00 2001 From: Atul Kumar Date: Mon, 17 Oct 2022 14:50:37 +0530 Subject: [PATCH 2/2] Version parameter for the doc link. Co-authored-by: Benjamin Wang Signed-off-by: Atul Kumar --- server/etcdmain/etcd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/etcdmain/etcd.go b/server/etcdmain/etcd.go index 4397ef0d02e..5906cdc4614 100644 --- a/server/etcdmain/etcd.go +++ b/server/etcdmain/etcd.go @@ -260,7 +260,8 @@ func checkSupportArch() { if err != nil { panic(err) } - // to add a new platform, check https://github.com/etcd-io/website/blob/main/content/en/docs/v3.5/op-guide/supported-platform.md + // To add a new platform, check https://github.com/etcd-io/website/blob/main/content/en/docs/${VERSION}/op-guide/supported-platform.md. + // The ${VERSION} is the etcd version, e.g. v3.5, v3.6 etc. if runtime.GOARCH == "amd64" || runtime.GOARCH == "arm64" || runtime.GOARCH == "ppc64le" ||