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
f9395b76
Commit
f9395b76
authored
Jan 24, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: flush the pinner
parent
7f6bd280
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
core/coreunix/add.go
core/coreunix/add.go
+3
-1
No files found.
core/coreunix/add.go
View file @
f9395b76
...
...
@@ -29,7 +29,9 @@ func Add(n *core.IpfsNode, r io.Reader) (u.Key, error) {
if
err
!=
nil
{
return
""
,
err
}
// TODO(btc): is it necessary to flush the pinner?
if
err
:=
n
.
Pinning
.
Flush
();
err
!=
nil
{
return
""
,
err
}
return
dagNode
.
Key
()
}
...
...
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