From 2aeb35d7613fe96d983f89e49ecf73d7a110903e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 19 Apr 2023 11:35:29 +0200 Subject: [PATCH] Adjust cilium/cilium URLs after primary branch rename to `main` Cilium's primary branch was renamed to `main`, see https://github.com/cilium/cilium/issues/23110. Adjust all URLs that uses the old branch name. Signed-off-by: Tobias Klauser --- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 2 +- internal/cli/cmd/version.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index c09e6897d5..08d32602ef 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,5 +1,5 @@ All members of the Cilium community must abide by the [Cilium Community Code of -Conduct](https://github.com/cilium/cilium/blob/master/CODE_OF_CONDUCT.md). Only +Conduct](https://github.com/cilium/cilium/blob/main/CODE_OF_CONDUCT.md). Only by respecting each other can we develop a productive, collaborative community. If you would like to report a violation of the code of contact, please contact the code of conduct team via [conduct@cilium.io](mailto:conduct@cilium.io). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b672cf62ca..cac0e1e1c3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ outside of GitHub. ## Code of conduct All members of the Cilium community must abide by the [Cilium Community Code of -Conduct](https://github.com/cilium/cilium/blob/master/CODE_OF_CONDUCT.md). Only +Conduct](https://github.com/cilium/cilium/blob/main/CODE_OF_CONDUCT.md). Only by respecting each other can we develop a productive, collaborative community. If you would like to report a violation of the code of contact, please contact any of the maintainers or our mediator, Beatriz Martinez . diff --git a/internal/cli/cmd/version.go b/internal/cli/cmd/version.go index 07db172533..b51cacd7a7 100644 --- a/internal/cli/cmd/version.go +++ b/internal/cli/cmd/version.go @@ -23,7 +23,7 @@ var ( ) func getLatestStableVersion() string { - resp, err := http.Get("https://raw.githubusercontent.com/cilium/cilium/master/stable.txt") + resp, err := http.Get("https://raw.githubusercontent.com/cilium/cilium/main/stable.txt") if err != nil { return "unknown" }