mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-26 21:05:00 +02:00
Corrent comments for the metric data storage location (#5999)
Replace the term "out" with "rm" for better clarity. Original comments referred to "out", which can be ambiguous in this context.
This commit is contained in:
parent
8b510c36ed
commit
e90ab80076
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user