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 != "" {