Skip to content

Commit

Permalink
Corrent comments for the metric data storage location (#5999)
Browse files Browse the repository at this point in the history
Replace the term "out" with "rm" for better clarity.
Original comments referred to "out", which can be ambiguous in this
context.
  • Loading branch information
yumosx authored Nov 25, 2024
1 parent 8b510c3 commit e90ab80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/metric/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ type Reader interface {
aggregation(InstrumentKind) Aggregation // nolint:revive // import-shadow for method scoped by type.

// Collect gathers and returns all metric data related to the Reader from
// the SDK and stores it in out. An error is returned if this is called
// after Shutdown or if out is nil.
// the SDK and stores it in rm. An error is returned if this is called
// after Shutdown or if rm is nil.
//
// This method needs to be concurrent safe, and the cancellation of the
// passed context is expected to be honored.
Expand Down

0 comments on commit e90ab80

Please sign in to comment.