Skip to content

Commit

Permalink
Merge pull request #475 from mooncak/fix_typos
Browse files Browse the repository at this point in the history
Fix typos: runing->running, genrating->generating
  • Loading branch information
k8s-ci-robot committed Nov 12, 2018
2 parents 4866c87 + e5ae20d commit 002c18b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (o *apiOptions) runAddAPI() {
// disable generation of example reconcile body if not scaffolding resource
// because this could result in a fork-bomb of k8s resources where watching a
// deployment, replicaset etc. results in generating deployment which
// end up genrating replicaset, pod etc recursively.
// end up generating replicaset, pod etc recursively.
r.CreateExampleReconcileBody = false
}

Expand Down
2 changes: 1 addition & 1 deletion docs/book/basics/simple_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type ContainerSetStatus struct {
```
{% endmethod %}

{% panel style="info", title="Runing Code Generators" %}
{% panel style="info", title="Running Code Generators" %}
While users don't directly modify generated code, the code must be regenerated after resources are
modified by adding or removing fields. This is automatically done when running `make`.

Expand Down
2 changes: 1 addition & 1 deletion docs/book/public/basics/simple_resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ <h4 id="reference">Reference</h4>
</code></pre>
</div></div></div>

<p><div class="panel panel-info"><div class="panel-heading"><div class="panel-icon"><i class="icon-info"></i></div><div class="panel-title">Runing Code Generators</div></div><div class="panel-content"><p>While users don&apos;t directly modify generated code, the code must be regenerated after resources are
<p><div class="panel panel-info"><div class="panel-heading"><div class="panel-icon"><i class="icon-info"></i></div><div class="panel-title">Running Code Generators</div></div><div class="panel-content"><p>While users don&apos;t directly modify generated code, the code must be regenerated after resources are
modified by adding or removing fields. This is automatically done when running <code>make</code>.</p>
<p>Code generation may be configured for resources using annotations of the form <code>// +something</code>.
See the <a href="https://godoc.org/sigs.k8s.io/kubebuilder/pkg/gen/" target="_blank">pkg/gen</a> reference documentation.</p>
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ func cleanupv1(builderTest *e2einternal.KubebuilderTest, workDir string, imageNa
kustomizeOptions := []string{"build", filepath.Join("config", "default")}
resources, err := builderTest.RunKustomizeCommand(kustomizeOptions)
if err != nil {
log.Printf("error when runing kustomize build during cleaning up: %v", err)
log.Printf("error when running kustomize build during cleaning up: %v", err)
}

deleteOptions := []string{"delete", "--recursive", "-f", "-"}
_, err = builderTest.RunKubectlCommandWithInput(framework.GetKubectlArgs(deleteOptions), resources)
if err != nil {
log.Printf("error when runing kubectl delete during cleaning up: %v", err)
log.Printf("error when running kubectl delete during cleaning up: %v", err)
}

deleteOptions = []string{"delete", "--recursive", "-f", filepath.Join("config", "crds")}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ it will build the new kubebuilder.
*/
// TODO: ensure the required binaries are installed when integrate with Prow.
var _ = BeforeSuite(func(done Done) {
// Uncomment the following line to set the image name before runing the e2e test
// Uncomment the following line to set the image name before running the e2e test
//os.Setenv("IMG", "gcr.io/<my-project-name>/<iamge-name:tag>")
// If you want to run the test against a GKE cluster, run the following command first
// $ kubectl create clusterrolebinding myname-cluster-admin-binding --clusterrole=cluster-admin --user=myname@mycompany.com
Expand Down

0 comments on commit 002c18b

Please sign in to comment.