Skip to content

Commit

Permalink
no need to change aggregations
Browse files Browse the repository at this point in the history
  • Loading branch information
vdarulis committed May 2, 2022
1 parent af3cade commit 6f7f0dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/aggregator/aggregation/counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,4 @@ func (c *Counter) Annotation() []byte {
}

// Close closes the counter.
func (c *Counter) Close() {
c.annotation = nil
}
func (c *Counter) Close() {}
4 changes: 1 addition & 3 deletions src/aggregator/aggregation/gauge.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,4 @@ func (g *Gauge) Annotation() []byte {
}

// Close closes the gauge.
func (g *Gauge) Close() {
g.annotation = nil
}
func (g *Gauge) Close() {}
1 change: 0 additions & 1 deletion src/aggregator/aggregation/timer.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,5 @@ func (t *Timer) Annotation() []byte {

// Close closes the timer.
func (t *Timer) Close() {
t.annotation = nil
t.stream.Close()
}

0 comments on commit 6f7f0dd

Please sign in to comment.