Skip to content

Commit d600112

Browse files
authored
use main, not master for controller-runtime URLs.
1 parent b44bdb5 commit d600112

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/book/src/developer/testing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ but in this case the distinctive value of the two layers of testing is determine
9595

9696
Run `make test` to execute all unit and integration tests.
9797

98-
Integration tests use the [envtest](https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/envtest/doc.go) test framework. The tests need to know the location of the executables called by the framework. The `make test` target installs these executables, and passes this location to the tests as an environment variable.
98+
Integration tests use the [envtest](https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/envtest/doc.go) test framework. The tests need to know the location of the executables called by the framework. The `make test` target installs these executables, and passes this location to the tests as an environment variable.
9999

100100
<aside class="note">
101101

@@ -560,8 +560,8 @@ In Cluster API Unit and integration test MUST use [go test].
560560
[Gomega]: https://onsi.github.io/gomega/
561561
[go test]: https://golang.org/pkg/testing/
562562
[controller-runtime]: https://github.com/kubernetes-sigs/controller-runtime
563-
[envtest]: https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/envtest
564-
[fakeclient]: https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/client/fake
563+
[envtest]: https://github.com/kubernetes-sigs/controller-runtime/tree/main/pkg/envtest
564+
[fakeclient]: https://github.com/kubernetes-sigs/controller-runtime/tree/main/pkg/client/fake
565565
[test/helpers]: https://github.com/kubernetes-sigs/cluster-api/tree/main/test/helpers
566566

567-
[vscode-go]: https://marketplace.visualstudio.com/items?itemName=golang.Go
567+
[vscode-go]: https://marketplace.visualstudio.com/items?itemName=golang.Go

0 commit comments

Comments
 (0)