Remove unnecessary else block

This commit is contained in:
Michael Eischer 2023-05-18 18:08:43 +02:00
parent 319087c056
commit 7a01bd3b67
1 changed files with 3 additions and 3 deletions

View File

@ -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)