Skip to content

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Kolevska <[email protected]>
  • Loading branch information
elena-kolevska committed Oct 9, 2023
1 parent b6c8819 commit 1cc2e4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pubsub/gcp/pubsub/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down
2 changes: 1 addition & 1 deletion state/gcp/firestore/firestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 1cc2e4c

Please sign in to comment.