diff --git a/snapshots/storage/bolt.go b/snapshots/storage/bolt.go index 1277a4abc..062ba6815 100644 --- a/snapshots/storage/bolt.go +++ b/snapshots/storage/bolt.go @@ -306,7 +306,7 @@ func Remove(ctx context.Context, key string) (string, snapshots.Kind, error) { } if err := readSnapshot(sbkt, &id, &si); err != nil { - errors.Wrapf(err, "failed to read snapshot %s", key) + return errors.Wrapf(err, "failed to read snapshot %s", key) } if pbkt != nil {