forked from TrueCloudLab/restic
Remove unnecessary else block
This commit is contained in:
parent
319087c056
commit
7a01bd3b67
1 changed files with 3 additions and 3 deletions
|
@ -143,12 +143,12 @@ func (f *SnapshotFilter) FindAll(ctx context.Context, be Lister, loader LoaderUn
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if ids.Has(*sn.ID()) {
|
if ids.Has(*sn.ID()) {
|
||||||
continue
|
continue
|
||||||
} else {
|
}
|
||||||
|
|
||||||
ids.Insert(*sn.ID())
|
ids.Insert(*sn.ID())
|
||||||
s = sn.ID().String()
|
s = sn.ID().String()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
err = fn(s, sn, err)
|
err = fn(s, sn, err)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue