From e90ab80076117415d45397e279940650e43d643a Mon Sep 17 00:00:00 2001 From: ian <141902143+yumosx@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:29:04 +0800 Subject: [PATCH] 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. --- sdk/metric/reader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/metric/reader.go b/sdk/metric/reader.go index 9c54561aac7..d13a7069788 100644 --- a/sdk/metric/reader.go +++ b/sdk/metric/reader.go @@ -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.