Skip to content

Commit

Permalink
Merge pull request #12929 from gyuho/github-worker-arm64-support
Browse files Browse the repository at this point in the history
  • Loading branch information
gyuho authored May 11, 2021
2 parents 450fd9a + b9c000f commit 70f7e0d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions server/etcdmain/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,11 @@ func identifyDataDirOrDie(lg *zap.Logger, dir string) dirType {
}

func checkSupportArch() {
// TODO qualify arm64
if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "s390x" {
// to add a new platform, check https://github.com/etcd-io/website/blob/master/content/en/docs/next/op-guide/supported-platform.md
if runtime.GOARCH == "amd64" ||
runtime.GOARCH == "arm64" ||
runtime.GOARCH == "ppc64le" ||
runtime.GOARCH == "s390x" {
return
}
// unsupported arch only configured via environment variable
Expand Down

0 comments on commit 70f7e0d

Please sign in to comment.