We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c23fd7 + d7f8303 commit e1006c0Copy full SHA for e1006c0
core/unpack/unpacker.go
@@ -296,13 +296,6 @@ func (u *Unpacker) unpack(
296
}
297
defer unlock()
298
299
- if _, err := sn.Stat(ctx, chainID); err == nil {
300
- // no need to handle
301
- return nil
302
- } else if !errdefs.IsNotFound(err) {
303
- return fmt.Errorf("failed to stat snapshot %s: %w", chainID, err)
304
- }
305
-
306
// inherits annotations which are provided as snapshot labels.
307
snapshotLabels := snapshots.FilterInheritedLabels(desc.Annotations)
308
if snapshotLabels == nil {
0 commit comments