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
dms3
go-dms3
Commits
52631c69
Commit
52631c69
authored
Nov 27, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(logging) interpret peer id strings correctly
License: MIT Signed-off-by:
Brian Tiger Chow
<
brian@perfmode.com
>
parent
8d6f2ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
peer/peer.go
peer/peer.go
+1
-1
No files found.
peer/peer.go
View file @
52631c69
...
...
@@ -167,7 +167,7 @@ func (p *peer) String() string {
func
(
p
*
peer
)
Loggable
()
map
[
string
]
interface
{}
{
return
map
[
string
]
interface
{}{
p
.
GetType
()
.
String
()
:
map
[
string
]
interface
{}{
"id"
:
p
.
ID
(),
"id"
:
p
.
ID
()
.
String
()
,
"latency"
:
p
.
GetLatency
(),
},
}
...
...
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