diff --git a/pkg/executor/nfs/nfsrestoreresources.go b/pkg/executor/nfs/nfsrestoreresources.go index 325b27172..9c40bf74b 100644 --- a/pkg/executor/nfs/nfsrestoreresources.go +++ b/pkg/executor/nfs/nfsrestoreresources.go @@ -133,7 +133,8 @@ func restoreResources( return err } - if err := applyResources(restore, rb, objects, nil); err != nil { + var opts resourcecollector.Options + if err := applyResources(restore, rb, objects, &opts); err != nil { return err } return nil