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
d3c9c597
Commit
d3c9c597
authored
Nov 18, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove daemon node constructor
parent
7a4491ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
cmd/ipfs2/daemon.go
cmd/ipfs2/daemon.go
+0
-6
No files found.
cmd/ipfs2/daemon.go
View file @
d3c9c597
...
...
@@ -80,12 +80,6 @@ func daemonFunc(req cmds.Request) (interface{}, error) {
}
defer
lock
.
Close
()
// setup function that constructs the context. we have to do it this way
// to play along with how the Context works and thus not expose its internals
req
.
Context
()
.
ConstructNode
=
func
()
(
*
core
.
IpfsNode
,
error
)
{
return
node
,
nil
}
addr
,
err
:=
ma
.
NewMultiaddr
(
cfg
.
Addresses
.
API
)
if
err
!=
nil
{
return
nil
,
err
...
...
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