Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Pack committed Oct 26, 2023
1 parent 799733d commit 8da11ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receiver/googlecloudspannerreceiver/receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func newMetricsBuilder(throwErrorOnShutdown bool) metadata.MetricsBuilder {
}

func (b *metricsBuilder) Build([]*metadata.MetricsDataPoint) (pmetric.Metrics, error) {
return pmetric.Metrics{}, nil
return pmetric.NewMetrics(), nil
}

func (b *metricsBuilder) Shutdown() error {
Expand Down

0 comments on commit 8da11ad

Please sign in to comment.