Skip to content

Commit

Permalink
Fix casing in victorops log message
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Weaver <weaver.alex.d@gmail.com>
  • Loading branch information
alexweav committed Nov 25, 2022
1 parent d837292 commit 815c5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify/victorops/victorops.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (n *Notifier) createVictorOpsPayload(ctx context.Context, as ...*types.Aler

stateMessage, truncated := notify.TruncateInRunes(stateMessage, maxMessageLenRunes)
if truncated {
level.Warn(n.logger).Log("msg", "truncated stateMessage", "incident", key, "runes", maxMessageLenRunes)
level.Warn(n.logger).Log("msg", "Truncated state_message", "incident", key, "runes", maxMessageLenRunes)
}

msg := map[string]string{
Expand Down

0 comments on commit 815c5ef

Please sign in to comment.