mirror of
https://github.com/restic/restic.git
synced 2025-10-21 15:29:03 +00:00
Use _ as parameter name for unused Context
The context is required by the implemented interface.
This commit is contained in:
@@ -1601,7 +1601,7 @@ type appendOnlyBackend struct {
|
||||
}
|
||||
|
||||
// called via repo.Backend().Remove()
|
||||
func (b *appendOnlyBackend) Remove(ctx context.Context, h restic.Handle) error {
|
||||
func (b *appendOnlyBackend) Remove(_ context.Context, h restic.Handle) error {
|
||||
return errors.Errorf("Failed to remove %v", h)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user