diff options
| -rw-r--r-- | internal/rpn/operations.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rpn/operations.go b/internal/rpn/operations.go index 62c8248..99b8e6b 100644 --- a/internal/rpn/operations.go +++ b/internal/rpn/operations.go @@ -23,8 +23,8 @@ type Operations struct { var _ Operator = (*Operations)(nil) // NewOperations creates a new Operations instance with the given variable store. +// Creates a new ConstantsProvider internally; use SetConstants to replace it. // If no registry is provided, defaults to the global MetricRegistry. -// If no constants provider is provided, creates a new one. func NewOperations(vars VariableStore, reg ...*MetricRegistry) *Operations { consts := NewConstants() r := GetMetricRegistry() |
