metrics: Fix --templateMetricsHints
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 12 Mar 2020 16:09:49 +0000 (17:09 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 12 Mar 2020 18:26:19 +0000 (19:26 +0100)
commit5eadc4c0a8e5c51e72670591c4b7877e79c15e3c
treed0f9449daf2b078cb9d6ce496dd83fc8f6262676
parent18cb21ff2e4a60e7094908e4d6113a9d5a086316
metrics: Fix --templateMetricsHints

Also improve non-string comparisons.

Fixes #7048
common/types/convert.go
metrics/metrics.go
metrics/metrics_test.go