Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-kad-dht
Commits
3ea48dc7
Unverified
Commit
3ea48dc7
authored
Feb 05, 2020
by
Steven Allen
Committed by
GitHub
Feb 05, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #445 from aarshkshah1992/feat/cluster-level-mismatch
Adjust cluster level while encoding as well
parents
f919cde5
9a344cb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pb/message.go
pb/message.go
+1
-1
No files found.
pb/message.go
View file @
3ea48dc7
...
...
@@ -135,7 +135,7 @@ func (m *Message) GetClusterLevel() int {
// default "no value" protobuf behavior (0)
func
(
m
*
Message
)
SetClusterLevel
(
level
int
)
{
lvl
:=
int32
(
level
)
m
.
ClusterLevelRaw
=
lvl
m
.
ClusterLevelRaw
=
lvl
+
1
}
// Loggable turns a Message into machine-readable log output
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment