Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore comment
Browse files Browse the repository at this point in the history
dashpole committed Dec 8, 2023

Verified

This commit was signed with the committer’s verified signature.
danielsoro Daniel Cunha
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
@@ -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

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
}
@@ -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

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
}

0 comments on commit c3d7689

Please sign in to comment.