summaryrefslogtreecommitdiff
path: root/internal/rpn/operations.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 18:25:17 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 18:25:17 +0300
commitab3e44d33cbe4ac09b68de2a65f35de1937574a4 (patch)
tree31587bcb0c16ba52418559d157fcb4140c2f02a1 /internal/rpn/operations.go
parentc4e1b3d3aa53d293307ddca6affff3715f3578c7 (diff)
fix(rpn): introduce MetricReader interface for testability (task 7k)
Diffstat (limited to 'internal/rpn/operations.go')
-rw-r--r--internal/rpn/operations.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rpn/operations.go b/internal/rpn/operations.go
index 832ac77..f79457c 100644
--- a/internal/rpn/operations.go
+++ b/internal/rpn/operations.go
@@ -90,6 +90,6 @@ func (o *Operations) SetPrefixMode(mode PrefixMode) {
}
// MetricRegistry returns the metric registry used by this Operations instance.
-func (o *Operations) MetricRegistry() *MetricRegistry {
+func (o *Operations) MetricRegistry() MetricReader {
return o.metricRegistry
}