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-routing
Commits
59856daf
Commit
59856daf
authored
Dec 22, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dht: bit nicer logging
parent
67ea1c81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dht/dht.go
dht/dht.go
+1
-1
dht/handlers.go
dht/handlers.go
+1
-1
No files found.
dht/dht.go
View file @
59856daf
...
...
@@ -126,7 +126,7 @@ func (dht *IpfsDHT) putProvider(ctx context.Context, p peer.ID, key string) erro
return
err
}
log
.
Debugf
(
"%s putProvider: %s for %s"
,
dht
.
self
,
p
,
u
.
Key
(
key
))
log
.
Debugf
(
"%s putProvider: %s for %s
(%s)
"
,
dht
.
self
,
p
,
u
.
Key
(
key
)
,
pi
.
Addrs
)
return
nil
}
...
...
dht/handlers.go
View file @
59856daf
...
...
@@ -219,7 +219,7 @@ func (dht *IpfsDHT) handleAddProvider(ctx context.Context, p peer.ID, pmes *pb.M
}
if
len
(
pi
.
Addrs
)
<
1
{
log
.
Errorf
(
"got no valid addresses for provider %s. Ignore."
,
p
)
log
.
Errorf
(
"
%s
got no valid addresses for provider %s. Ignore."
,
dht
.
self
,
p
)
continue
}
...
...
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