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-unixfs
Commits
8e888b1d
Commit
8e888b1d
authored
Jan 13, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
p2p/net/swarm: dial adding conn note
parent
25c6ab8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
p2p/net/swarm/swarm_dial.go
p2p/net/swarm/swarm_dial.go
+1
-0
No files found.
p2p/net/swarm/swarm_dial.go
View file @
8e888b1d
...
...
@@ -127,6 +127,7 @@ func (s *Swarm) Dial(ctx context.Context, p peer.ID) (*Conn, error) {
}
// ok, we have been charged to dial! let's do it.
// if it succeeds, dial will add the conn to the swarm itself.
conn
,
err
=
s
.
dial
(
ctx
,
p
)
s
.
dsync
.
Unlock
(
p
)
if
err
!=
nil
{
...
...
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