Skip to content

Commit

Permalink
feat(fxgcppubsub): Added Avro and Protobuf schemas support
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox committed Jun 11, 2024
1 parent f9bc3bc commit 8868769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fxgcppubsub/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func NewFxGcpPubSubSchemaClient(p FxGcpPubSubSchemaClientParam) (*pubsub.SchemaC
}
}

Check warning on line 126 in fxgcppubsub/module.go

View check run for this annotation

Codecov / codecov/patch

fxgcppubsub/module.go#L117-L126

Added lines #L117 - L126 were not covered by tests

client, err := pubsub.NewSchemaClient(p.Context, p.Config.GetString("modules.gcppubsub.project.id"), schemaClientOptions...)
client, err := pubsub.NewSchemaClient(context.Background(), p.Config.GetString("modules.gcppubsub.project.id"), schemaClientOptions...)

Check warning on line 128 in fxgcppubsub/module.go

View check run for this annotation

Codecov / codecov/patch

fxgcppubsub/module.go#L128

Added line #L128 was not covered by tests
if err != nil {
return nil, fmt.Errorf("failed to create pubsub schema client: %w", err)

Check warning on line 130 in fxgcppubsub/module.go

View check run for this annotation

Codecov / codecov/patch

fxgcppubsub/module.go#L130

Added line #L130 was not covered by tests
}
Expand Down

0 comments on commit 8868769

Please sign in to comment.