Skip to content

Commit 0702a66

Browse files
authored
Merge pull request #2006 from oscr/the-the
🌱 grammar: removed doubles of the word "the"
2 parents 09e83d3 + 1d8e1b3 commit 0702a66

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

TMP-LOGGING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can configure the logging implementation using
5151
`"sigs.k8s.io/controller-runtime/pkg/log".SetLogger`. That
5252
package also contains the convenience functions for setting up Zap.
5353

54-
You can get a handle to the the "root" logger using
54+
You can get a handle to the "root" logger using
5555
`"sigs.k8s.io/controller-runtime/pkg/log".Log`, and can then call
5656
`WithName` to create individual named loggers. You can call `WithName`
5757
repeatedly to chain names together:

pkg/builder/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ func (p projectAs) ApplyToWatches(opts *WatchesInput) {
101101

102102
var (
103103
// OnlyMetadata tells the controller to *only* cache metadata, and to watch
104-
// the the API server in metadata-only form. This is useful when watching
104+
// the API server in metadata-only form. This is useful when watching
105105
// lots of objects, really big objects, or objects for which you only know
106-
// the the GVK, but not the structure. You'll need to pass
106+
// the GVK, but not the structure. You'll need to pass
107107
// metav1.PartialObjectMetadata to the client when fetching objects in your
108108
// reconciler, otherwise you'll end up with a duplicate structured or
109109
// unstructured cache.

pkg/log/zap/zap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func newConsoleEncoder(opts ...EncoderConfigOption) zapcore.Encoder {
101101
return zapcore.NewConsoleEncoder(encoderConfig)
102102
}
103103

104-
// Level sets Options.Level, which configures the the minimum enabled logging level e.g Debug, Info.
104+
// Level sets Options.Level, which configures the minimum enabled logging level e.g Debug, Info.
105105
// A zap log level should be multiplied by -1 to get the logr verbosity.
106106
// For example, to get logr verbosity of 3, pass zapcore.Level(-3) to this Opts.
107107
// See https://pkg.go.dev/github.com/go-logr/zapr for how zap level relates to logr verbosity.

tools/setup-envtest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Then, you have a few options for managing your binaries:
9191
`--use-env` makes the command unconditionally use the value of
9292
KUBEBUILDER_ASSETS as long as it contains the required binaries, and
9393
`-i` indicates that we only ever want to work with installed binaries
94-
(no reaching out the the remote GCS storage).
94+
(no reaching out the remote GCS storage).
9595

9696
As noted about, you can use `ENVTEST_INSTALLED_ONLY=true` to switch `-i`
9797
on by default, and you can use `ENVTEST_USE_ENV=true` to switch

tools/setup-envtest/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Versions:
192192
Z may also be '*' or 'x' to match a wildcard.
193193
You may also just write X.Y, which means X.Y.*.
194194
195-
A version may be prefixed with '~' to match the the most recent Z release
195+
A version may be prefixed with '~' to match the most recent Z release
196196
in the given Y release ( [X.Y.Z, X.Y+1.0) ).
197197
198198
Finally, you may suffix the version with '!' to force checking the

tools/setup-envtest/workflows/workflows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (f Use) Do(env *envp.Env) {
2525
ctx := logr.NewContext(context.TODO(), env.Log.WithName("use"))
2626
env.EnsureBaseDirs(ctx)
2727
if f.UseEnv {
28-
// the the env var unconditionally
28+
// the env var unconditionally
2929
if env.PathMatches(f.AssetsPath) {
3030
env.PrintInfo(f.PrintFormat)
3131
return

0 commit comments

Comments
 (0)