From f50b23a76aa02f67feb8898ce051bf02ca4942cf Mon Sep 17 00:00:00 2001 From: Elena Kolevska Date: Mon, 9 Oct 2023 11:36:44 +0100 Subject: [PATCH] Fixes typo Signed-off-by: Elena Kolevska --- pubsub/gcp/pubsub/pubsub.go | 2 +- state/gcp/firestore/firestore.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pubsub/gcp/pubsub/pubsub.go b/pubsub/gcp/pubsub/pubsub.go index 39621b3894..8d33fd415b 100644 --- a/pubsub/gcp/pubsub/pubsub.go +++ b/pubsub/gcp/pubsub/pubsub.go @@ -124,7 +124,7 @@ func (g *GCPPubSub) getPubSubClient(ctx context.Context, metadata *metadata) (*g var pubsubClient *gcppubsub.Client var err error - // context.Background is used here, as this the context used to Dial the + // context.Background is used here, as the context used to Dial the // server in the gRPC DialPool. Callers should always call `Close` on the // component to ensure all resources are released. if metadata.PrivateKeyID != "" { diff --git a/state/gcp/firestore/firestore.go b/state/gcp/firestore/firestore.go index 79c2bbcca9..f36dab4cb2 100644 --- a/state/gcp/firestore/firestore.go +++ b/state/gcp/firestore/firestore.go @@ -223,7 +223,7 @@ func getGCPClient(ctx context.Context, metadata *firestoreMetadata, l logger.Log var gcpClient *datastore.Client var err error - // context.Background is used here, as this the context used to Dial the + // context.Background is used here, as the context used to Dial the // server in the gRPC DialPool. Callers should always call `Close` on the // component to ensure all resources are released. if metadata.PrivateKeyID != "" {