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
d3b873cc
Commit
d3b873cc
authored
Sep 25, 2015
by
Juan Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1753 from ipfs/fix/api-file
write correct address to api file
parents
5b981137
c3e72377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmd/ipfs/daemon.go
cmd/ipfs/daemon.go
+1
-1
No files found.
cmd/ipfs/daemon.go
View file @
d3b873cc
...
...
@@ -357,7 +357,7 @@ func serveHTTPApi(req cmds.Request) (error, <-chan error) {
return
fmt
.
Errorf
(
"serveHTTPApi: ConstructNode() failed: %s"
,
err
),
nil
}
if
err
:=
node
.
Repo
.
SetAPIAddr
(
api
A
ddr
);
err
!=
nil
{
if
err
:=
node
.
Repo
.
SetAPIAddr
(
api
Ma
ddr
.
String
()
);
err
!=
nil
{
return
fmt
.
Errorf
(
"serveHTTPApi: SetAPIAddr() failed: %s"
,
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