diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 11:24:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 11:24:52 +0300 |
| commit | 33aa907994ff4cb7bdd83e005806d8301d829978 (patch) | |
| tree | f2e7ee1dc07bcd2ba4e1f83333fcb4236c1fbf33 /internal/rpn/operations_interfaces.go | |
| parent | 871f7fa2b9a0fd5653adadfc9efb90fcbd2da203 (diff) | |
rpn: remove duplicate metricRegistry, use ops.MetricRegistry()
Diffstat (limited to 'internal/rpn/operations_interfaces.go')
| -rw-r--r-- | internal/rpn/operations_interfaces.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/rpn/operations_interfaces.go b/internal/rpn/operations_interfaces.go index 6af0973..b254a26 100644 --- a/internal/rpn/operations_interfaces.go +++ b/internal/rpn/operations_interfaces.go @@ -102,4 +102,6 @@ type Operator interface { CustomList(stack *Stack) (string, error) CustomDefine(name string, factor float64, category string) error CustomUndefine(name string) error + // MetricRegistry returns the metric registry used by this Operations instance. + MetricRegistry() *MetricRegistry } |
