mirror of
https://github.com/restic/restic.git
synced 2026-10-12 04:57:12 +00:00
Remove unnecessary else block
This commit is contained in:
1 parent
319087c056
commit
7a01bd3b67
1 file changed
+3
-3
@@ -143,10 +143,10 @@ func (f *SnapshotFilter) FindAll(ctx context.Context, be Lister, loader LoaderUn
|
||||
if err == nil {
|
||||
if ids.Has(*sn.ID()) {
|
||||
continue
|
||||
} else {
|
||||
ids.Insert(*sn.ID())
|
||||
s = sn.ID().String()
|
||||
}
|
||||
|
||||
ids.Insert(*sn.ID())
|
||||
s = sn.ID().String()
|
||||
}
|
||||
}
|
||||
err = fn(s, sn, err)
|
||||
|
||||
Reference in new issue
Block a user