Skip to content

Commit

Permalink
restore comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Dec 8, 2023
1 parent 101f906 commit c3d7689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/metric/meter.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func (m *meter) int64ObservableInstrument(id Instrument, callbacks []metric.Int6
if err != nil {
return inst, err
}

Check warning on line 117 in sdk/metric/meter.go

View check run for this annotation

Codecov / codecov/patch

sdk/metric/meter.go#L116-L117

Added lines #L116 - L117 were not covered by tests
// Drop aggregation
if len(in) == 0 {
continue
}
Expand Down Expand Up @@ -230,6 +231,7 @@ func (m *meter) float64ObservableInstrument(id Instrument, callbacks []metric.Fl
if err != nil {
return inst, err
}

Check warning on line 233 in sdk/metric/meter.go

View check run for this annotation

Codecov / codecov/patch

sdk/metric/meter.go#L232-L233

Added lines #L232 - L233 were not covered by tests
// Drop aggregation
if len(in) == 0 {
continue
}
Expand Down

0 comments on commit c3d7689

Please sign in to comment.