mirror of
https://github.com/restic/restic.git
synced 2025-08-12 18:37:40 +00:00
Remove Deleter interface
This commit is contained in:
@@ -378,5 +378,9 @@ func (b *restBackend) Delete(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
return b.Remove(ctx, restic.Handle{Type: restic.ConfigFile})
|
||||
err := b.Remove(ctx, restic.Handle{Type: restic.ConfigFile})
|
||||
if err != nil && b.IsNotExist(err) {
|
||||
return nil
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user