Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
dashpole and MrAlias authored Oct 26, 2023
1 parent b6ed43a commit a96e447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/metric/meter.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ func (p int64InstProvider) histogramAggs(name string, cfg metric.Int64HistogramC
boundaries := cfg.ExplicitBucketBoundaries()
aggError := AggregationExplicitBucketHistogram{Boundaries: boundaries}.err()
if aggError != nil {
// if boundaries are invalid, ignore them
// If boundaries are invalid, ignore them.
boundaries = nil
}
inst := Instrument{
Expand Down Expand Up @@ -502,7 +502,7 @@ func (p float64InstProvider) histogramAggs(name string, cfg metric.Float64Histog
boundaries := cfg.ExplicitBucketBoundaries()
aggError := AggregationExplicitBucketHistogram{Boundaries: boundaries}.err()
if aggError != nil {
// if boundaries are invalid, ignore them
// If boundaries are invalid, ignore them.
boundaries = nil
}
inst := Instrument{
Expand Down

0 comments on commit a96e447

Please sign in to comment.