Skip to content

Commit

Permalink
modifying default behavior of metricsString()
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Sep 13, 2022
1 parent eaed0c4 commit 96c458a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (t NodeStateType) metricsString() string {
case StateLeft:
return "left"
default:
return ""
return fmt.Sprintf("unhandled-value-%d", t)
}
}

Expand Down

0 comments on commit 96c458a

Please sign in to comment.