mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-07 15:52:47 +01:00
Improve restore
This commit is contained in:
@@ -83,7 +83,8 @@ func restoreS3(catalystStorage *storage.Storage, p string) error {
|
||||
|
||||
entries, err := fs.ReadDir(minioDir, ".")
|
||||
if err != nil {
|
||||
return err
|
||||
// directory might not exist
|
||||
return nil
|
||||
}
|
||||
|
||||
for _, entry := range entries {
|
||||
|
||||
Reference in New Issue
Block a user