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
3f064979
Commit
3f064979
authored
Jan 13, 2020
by
whyrusleeping
Browse files
dont fail copy on not found error
parent
9656ce47
Changes
1
Hide whitespace changes
Inline
Side-by-side
sectorbuilder.go
View file @
3f064979
...
...
@@ -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