From 44facc2ea39b425589990faba04652f645540335 Mon Sep 17 00:00:00 2001 From: George Ma <164313692+availhang@users.noreply.github.com> Date: Fri, 29 Mar 2024 07:31:55 +0800 Subject: [PATCH] chore: remove repetitive words (#20890) Signed-off-by: availhang --- agent/grpc-external/services/resource/testing/builder.go | 2 +- internal/controller/controller.go | 2 +- .../docs/connect/config-entries/service-intentions.mdx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/agent/grpc-external/services/resource/testing/builder.go b/agent/grpc-external/services/resource/testing/builder.go index 17a99be040..ea61928ce3 100644 --- a/agent/grpc-external/services/resource/testing/builder.go +++ b/agent/grpc-external/services/resource/testing/builder.go @@ -173,7 +173,7 @@ func (b *Builder) Run(t testutil.TestingTB) pbresource.ResourceServiceClient { } // HACK ALERT: The client needs to be injected into the V2TenancyBridge - // after it has been created due the the circular dependency. This will + // after it has been created due the circular dependency. This will // go away when the tenancy bridge is removed and V1 is no more, however // long that takes. switch config.TenancyBridge.(type) { diff --git a/internal/controller/controller.go b/internal/controller/controller.go index c418854344..286459e97b 100644 --- a/internal/controller/controller.go +++ b/internal/controller/controller.go @@ -58,7 +58,7 @@ type RuntimeCallback func(context.Context, Runtime) // NewController creates a controller that is setup to watched the managed type. // Extra cache indexes may be provided as well and these indexes will be automatically managed. // Typically, further calls to other builder methods will be needed to fully configure -// the controller such as using WithReconcile to define the the code that will be called +// the controller such as using WithReconcile to define the code that will be called // when the managed resource needs reconciliation. func NewController(name string, managedType *pbresource.Type, indexes ...*index.Index) *Controller { w := &watch{ diff --git a/website/content/docs/connect/config-entries/service-intentions.mdx b/website/content/docs/connect/config-entries/service-intentions.mdx index e2f78e488a..ff633dca3d 100644 --- a/website/content/docs/connect/config-entries/service-intentions.mdx +++ b/website/content/docs/connect/config-entries/service-intentions.mdx @@ -437,7 +437,7 @@ Specifies the path to the claim in the JSON web token. For more information abou ### `JWT{}.Providers[].VerifyClaims.Value` -Specifies the value to match on when verifying the the claim designated in [`JWT{}.Providers[].VerifyClaims[].Path`](#jwt-providers-verifyclaims-path). +Specifies the value to match on when verifying the claim designated in [`JWT{}.Providers[].VerifyClaims[].Path`](#jwt-providers-verifyclaims-path). #### Values @@ -785,7 +785,7 @@ Specifies the path to the claim in the JSON web token. For more information abou ### `spec.jwt.providers[].verifyClaims[].value` -Specifies the value to match on when verifying the the claim designated in [`JWT{}.Providers[].VerifyClaims[].Path`](#jwt-providers-verifyclaims-path). +Specifies the value to match on when verifying the claim designated in [`JWT{}.Providers[].VerifyClaims[].Path`](#jwt-providers-verifyclaims-path). #### Values