Skip to content

Commit 3ea48dc

Browse files
authored
Merge pull request #445 from aarshkshah1992/feat/cluster-level-mismatch
Adjust cluster level while encoding as well
2 parents f919cde + 9a344cb commit 3ea48dc

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)