Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-sectorbuilder
Commits
4103afa8
Unverified
Commit
4103afa8
authored
Jan 13, 2020
by
Whyrusleeping
Committed by
GitHub
Jan 13, 2020
Browse files
Merge pull request #67 from filecoin-project/feat/dont-fail-copy
dont fail copy on not found error
parents
730fec46
3f064979
Changes
1
Show whitespace changes
Inline
Side-by-side
sectorbuilder.go
View file @
4103afa8
...
...
@@ -724,6 +724,10 @@ func (sb *SectorBuilder) ImportFrom(osb *SectorBuilder, symlink bool) error {
val
,
err
:=
osb
.
ds
.
Get
(
lastSectorIdKey
)
if
err
!=
nil
{
if
err
==
datastore
.
ErrNotFound
{
log
.
Warnf
(
"CAUTION: last sector ID not found in previous datastore"
)
return
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