From 96c458a07d0f7f79c124b89c27d394ec7dcc4294 Mon Sep 17 00:00:00 2001 From: John Murret Date: Tue, 13 Sep 2022 10:29:25 -0600 Subject: [PATCH] modifying default behavior of `metricsString()` --- state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state.go b/state.go index 002aecf53..4e3590995 100644 --- a/state.go +++ b/state.go @@ -26,7 +26,7 @@ func (t NodeStateType) metricsString() string { case StateLeft: return "left" default: - return "" + return fmt.Sprintf("unhandled-value-%d", t) } }