Skip to content

Commit c3a1a12

Browse files
authored
Merge pull request #3803 from mcbenjemaa/typos
📖 Fix typo issue in the docs
2 parents 1bd70b3 + bc1d7d6 commit c3a1a12

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

docs/book/src/cronjob-tutorial/testdata/emptycontroller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ some changes.
7676
7777
Most controllers need a logging handle and a context, so we set them up here.
7878
79-
The [context](https://golang.org/pkg/context/) is used to allow cancelation of
79+
The [context](https://golang.org/pkg/context/) is used to allow cancellation of
8080
requests, and potentially things like tracing. It's the first argument to all
8181
client methods. The `Background` context is just a basic context without any
8282
extra data or timing restrictions.

docs/book/src/cronjob-tutorial/testdata/project/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func main() {
9595

9696
// if the enable-http2 flag is false (the default), http/2 should be disabled
9797
// due to its vulnerabilities. More specifically, disabling http/2 will
98-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
98+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
9999
// Rapid Reset CVEs. For more information see:
100100
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
101101
// - https://github.com/advisories/GHSA-4374-p667-p6c8

pkg/plugins/golang/v3/scaffolds/internal/templates/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func main() {
245245
{{ if not .ComponentConfig }}
246246
// if the enable-http2 flag is false (the default), http/2 should be disabled
247247
// due to its vulnerabilities. More specifically, disabling http/2 will
248-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
248+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
249249
// Rapid Reset CVEs. For more information see:
250250
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
251251
// - https://github.com/advisories/GHSA-4374-p667-p6c8

pkg/plugins/golang/v4/scaffolds/internal/templates/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func main() {
251251
{{ if not .ComponentConfig }}
252252
// if the enable-http2 flag is false (the default), http/2 should be disabled
253253
// due to its vulnerabilities. More specifically, disabling http/2 will
254-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
254+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
255255
// Rapid Reset CVEs. For more information see:
256256
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
257257
// - https://github.com/advisories/GHSA-4374-p667-p6c8

testdata/project-v3/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func main() {
7272

7373
// if the enable-http2 flag is false (the default), http/2 should be disabled
7474
// due to its vulnerabilities. More specifically, disabling http/2 will
75-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
75+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
7676
// Rapid Reset CVEs. For more information see:
7777
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
7878
// - https://github.com/advisories/GHSA-4374-p667-p6c8

testdata/project-v4-multigroup-with-deploy-image/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func main() {
101101

102102
// if the enable-http2 flag is false (the default), http/2 should be disabled
103103
// due to its vulnerabilities. More specifically, disabling http/2 will
104-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
104+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
105105
// Rapid Reset CVEs. For more information see:
106106
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
107107
// - https://github.com/advisories/GHSA-4374-p667-p6c8

testdata/project-v4-multigroup/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func main() {
101101

102102
// if the enable-http2 flag is false (the default), http/2 should be disabled
103103
// due to its vulnerabilities. More specifically, disabling http/2 will
104-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
104+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
105105
// Rapid Reset CVEs. For more information see:
106106
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
107107
// - https://github.com/advisories/GHSA-4374-p667-p6c8

testdata/project-v4-with-deploy-image/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func main() {
7676

7777
// if the enable-http2 flag is false (the default), http/2 should be disabled
7878
// due to its vulnerabilities. More specifically, disabling http/2 will
79-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
79+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
8080
// Rapid Reset CVEs. For more information see:
8181
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
8282
// - https://github.com/advisories/GHSA-4374-p667-p6c8

testdata/project-v4-with-grafana/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func main() {
7272

7373
// if the enable-http2 flag is false (the default), http/2 should be disabled
7474
// due to its vulnerabilities. More specifically, disabling http/2 will
75-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
75+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
7676
// Rapid Reset CVEs. For more information see:
7777
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
7878
// - https://github.com/advisories/GHSA-4374-p667-p6c8

testdata/project-v4/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func main() {
7676

7777
// if the enable-http2 flag is false (the default), http/2 should be disabled
7878
// due to its vulnerabilities. More specifically, disabling http/2 will
79-
// prevent from being vulnerable to the HTTP/2 Stream Cancelation and
79+
// prevent from being vulnerable to the HTTP/2 Stream Cancellation and
8080
// Rapid Reset CVEs. For more information see:
8181
// - https://github.com/advisories/GHSA-qppj-fm5r-hxr3
8282
// - https://github.com/advisories/GHSA-4374-p667-p6c8

0 commit comments

Comments
 (0)