Skip to content

Commit b1242ed

Browse files
authored
Merge pull request #334 from superbrothers/fix-typo
Fix typo for "Controller"
2 parents b1c1234 + 7524c7b commit b1242ed

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/book/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* [What is a Resource](basics/what_is_a_resource.md)
1919
* [Resource Example](basics/simple_resource.md)
2020
* Controllers
21-
* [What is a Contoller](basics/what_is_a_controller.md)
21+
* [What is a Controller](basics/what_is_a_controller.md)
2222
* [Controller Example](basics/simple_controller.md)
2323
* Managers
2424
* [What is the Manager](basics/what_is_the_controller_manager.md)

test/e2e/e2e_v0.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var _ = Describe("v0 main workflow", func() {
8080
Expect(err).NotTo(HaveOccurred())
8181

8282
By("validate the controller-manager pod running as expected")
83-
verifyContollerUp := func() error {
83+
verifyControllerUp := func() error {
8484
// Get pod name
8585
// TODO: Use kubectl to format the output with a go-template
8686
getOptions := []string{"get", "pods", "-n", c.namespace, "-l", "control-plane=controller-manager", "-o", "go-template={{ range .items }}{{ if not .metadata.deletionTimestamp }}{{ .metadata.name }}{{ \"\\n\" }}{{ end }}{{ end }}"}
@@ -104,7 +104,7 @@ var _ = Describe("v0 main workflow", func() {
104104

105105
return nil
106106
}
107-
Eventually(verifyContollerUp, 1*time.Minute, 500*time.Millisecond).Should(BeNil())
107+
Eventually(verifyControllerUp, 1*time.Minute, 500*time.Millisecond).Should(BeNil())
108108

109109
By("creating resource object")
110110
inputFile = filepath.Join(kubebuilderTest.Dir, "hack", "sample", strings.ToLower(c.kind)+".yaml")

test/e2e/e2e_v1.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ var _ = Describe("v1 main workflow", func() {
9797
err = kubebuilderTest.Make(makeDeployOptions)
9898

9999
By("validate the controller-manager pod running as expected")
100-
verifyContollerUp := func() error {
100+
verifyControllerUp := func() error {
101101
// Get pod name
102102
getOptions := []string{"get", "pods", "-l", "control-plane=controller-manager", "-n", fmt.Sprintf("e2e-%s-system", testSuffix), "-o", "go-template={{ range .items }}{{ if not .metadata.deletionTimestamp }}{{ .metadata.name }}{{ \"\\n\" }}{{ end }}{{ end }}"}
103103
podOutput, err := kubebuilderTest.RunKubectlCommand(framework.GetKubectlArgs(getOptions))
@@ -119,7 +119,7 @@ var _ = Describe("v1 main workflow", func() {
119119

120120
return nil
121121
}
122-
Eventually(verifyContollerUp, 5*time.Minute, time.Second).Should(BeNil())
122+
Eventually(verifyControllerUp, 5*time.Minute, time.Second).Should(BeNil())
123123

124124
By("creating an instance of CR")
125125
inputFile := filepath.Join("config", "samples", fmt.Sprintf("%s_%s_%s.yaml", c.group, c.version, strings.ToLower(c.kind)))

0 commit comments

Comments
 (0)