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
11a8826d
Commit
11a8826d
authored
Oct 01, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RPCAddress -> ddresses.API
parent
7cd9e4db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cmd/ipfs/run.go
cmd/ipfs/run.go
+3
-3
No files found.
cmd/ipfs/run.go
View file @
11a8826d
...
...
@@ -32,11 +32,11 @@ func runCmd(c *commander.Command, inp []string) error {
}
// launch the RPC endpoint.
if
n
.
Config
.
RPC
Address
==
""
{
return
errors
.
New
(
"no config.
RPC
Address endpoint supplied"
)
if
n
.
Config
.
Address
es
.
API
==
""
{
return
errors
.
New
(
"no config.Address
es.API
endpoint supplied"
)
}
maddr
,
err
:=
ma
.
NewMultiaddr
(
n
.
Config
.
RPC
Address
)
maddr
,
err
:=
ma
.
NewMultiaddr
(
n
.
Config
.
Address
es
.
API
)
if
err
!=
nil
{
return
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