@@ -101,7 +101,7 @@ func TestFeatureGateManifestFiltering(t *testing.T) {
101101 }
102102
103103 // Test the manifest inclusion logic
104- err := manifest .Include (nil , nil , nil , nil , nil , tt .enabledGates )
104+ err := manifest .Include (nil , nil , nil , nil , nil , tt .enabledGates , nil )
105105
106106 if tt .shouldInclude {
107107 if err != nil {
@@ -144,7 +144,7 @@ func TestSyncWorkIntegration(t *testing.T) {
144144 Obj : testObj ,
145145 }
146146
147- err := manifest .Include (nil , nil , nil , nil , nil , work .EnabledFeatureGates )
147+ err := manifest .Include (nil , nil , nil , nil , nil , work .EnabledFeatureGates , nil )
148148 if err != nil {
149149 t .Errorf ("Expected manifest to be included with TestGate1 enabled, got error: %v" , err )
150150 }
@@ -154,7 +154,7 @@ func TestSyncWorkIntegration(t *testing.T) {
154154 "release.openshift.io/feature-gate" : "DisabledGate" ,
155155 })
156156
157- err = manifest .Include (nil , nil , nil , nil , nil , work .EnabledFeatureGates )
157+ err = manifest .Include (nil , nil , nil , nil , nil , work .EnabledFeatureGates , nil )
158158 if err == nil {
159159 t .Error ("Expected manifest to be excluded with DisabledGate not enabled, but no error occurred" )
160160 }
@@ -263,7 +263,7 @@ func TestManifestFilteringExamples(t *testing.T) {
263263 Obj : obj ,
264264 }
265265
266- err := manifest .Include (nil , nil , nil , nil , nil , example .enabledGates )
266+ err := manifest .Include (nil , nil , nil , nil , nil , example .enabledGates , nil )
267267
268268 if example .shouldInclude {
269269 if err != nil {
0 commit comments