Skip to content

Commit d8baf34

Browse files
committed
Merge remote-tracking branch 'origin/dev' into PBM-1511-fallback-config-params
2 parents 13f5b32 + 8634aff commit d8baf34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pbm/storage/fs/fs.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ func (fs *FS) List(prefix, suffix string) ([]storage.FileInfo, error) {
198198

199199
info, err := entry.Info()
200200
if err != nil {
201+
if errors.Is(err, os.ErrNotExist) {
202+
// file was removed in the meantime, and that's fine
203+
return nil
204+
}
201205
return errors.Wrap(err, "getting file info")
202206
}
203207
if info.IsDir() {

0 commit comments

Comments
 (0)