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-cmds
Commits
260a5160
Unverified
Commit
260a5160
authored
Jun 05, 2019
by
Steven Allen
Committed by
GitHub
Jun 05, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #169 from studyzy/master
Fix a typo
parents
6cc6af69
677c6d45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
http/client.go
http/client.go
+1
-1
No files found.
http/client.go
View file @
260a5160
...
...
@@ -79,7 +79,7 @@ func (c *client) Execute(req *cmds.Request, re cmds.ResponseEmitter, env cmds.En
res
,
err
:=
c
.
Send
(
req
)
if
err
!=
nil
{
if
isConnRefused
(
err
)
{
err
=
fmt
.
Errorf
(
"cannot connect to the api. Is the d
e
amon running? To run as a standalone CLI command remove the api file in `$IPFS_PATH/api`"
)
err
=
fmt
.
Errorf
(
"cannot connect to the api. Is the da
e
mon running? To run as a standalone CLI command remove the api file in `$IPFS_PATH/api`"
)
}
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