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
d59a6e99
Commit
d59a6e99
authored
Jun 22, 2018
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "ipfs urlstore add" output.
License: MIT Signed-off-by:
Kevin Atkinson
<
k@kevina.org
>
parent
1a835202
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
core/commands/urlstore.go
core/commands/urlstore.go
+3
-1
No files found.
core/commands/urlstore.go
View file @
d59a6e99
...
@@ -77,7 +77,9 @@ var urlAdd = &cmds.Command{
...
@@ -77,7 +77,9 @@ var urlAdd = &cmds.Command{
},
},
Marshalers
:
cmds
.
MarshalerMap
{
Marshalers
:
cmds
.
MarshalerMap
{
cmds
.
Text
:
func
(
res
cmds
.
Response
)
(
io
.
Reader
,
error
)
{
cmds
.
Text
:
func
(
res
cmds
.
Response
)
(
io
.
Reader
,
error
)
{
bs
:=
res
.
Output
()
.
(
*
BlockStat
)
ch
:=
res
.
Output
()
.
(
<-
chan
interface
{})
bs0
:=
<-
ch
bs
:=
bs0
.
(
*
BlockStat
)
return
strings
.
NewReader
(
bs
.
Key
+
"
\n
"
),
nil
return
strings
.
NewReader
(
bs
.
Key
+
"
\n
"
),
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