summaryrefslogtreecommitdiff
path: root/integrationtests/cli_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 00:54:41 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 00:54:41 +0300
commit1c8c056ab7ce8c0ccd36ba0d954110789713204e (patch)
treeacd57518349c0a6d1ce0c2e74ee64ecb5d454455 /integrationtests/cli_test.go
parentf7d865c52524b27b1e2e0df27d3afd5e9423956c (diff)
rpn: remove hard-coded single-char metric whitelist in parseNumberWithMetric
parseNumberWithMetric only allowed 's', 'm', 'g' as single-char metric suffixes via an early pre-check, rejecting any custom single-char metrics (e.g. 'custom define x 100 DataRate') before the registry lookup. Remove the whitelist so all suffix lengths go through the registry, which correctly recognizes registered single-char metrics and rejects ones that aren't.
Diffstat (limited to 'integrationtests/cli_test.go')
0 files changed, 0 insertions, 0 deletions