Skip to content

Commit 9a344cb

Browse files
adjust cluster level while encoding as well
1 parent f919cde commit 9a344cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pb/message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (m *Message) GetClusterLevel() int {
135135
// default "no value" protobuf behavior (0)
136136
func (m *Message) SetClusterLevel(level int) {
137137
lvl := int32(level)
138-
m.ClusterLevelRaw = lvl
138+
m.ClusterLevelRaw = lvl + 1
139139
}
140140

141141
// Loggable turns a Message into machine-readable log output

0 commit comments

Comments
 (0)