Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hstan committed Dec 14, 2020
1 parent b94b328 commit b3caafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/metric/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (s *syncInstrument) Bind(kvs []label.KeyValue) metric.BoundSyncImpl {

func (s *syncInstrument) RecordOne(ctx context.Context, num number.Number, kvs []label.KeyValue) {

if s.meter.metricsLabelsEnricher != nil {
if s.meter.metricsLabelsEnricher != nil {
var err error
kvs, err = s.meter.metricsLabelsEnricher(ctx, kvs)
if err != nil {
Expand Down

0 comments on commit b3caafa

Please sign in to comment.