File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1245,7 +1245,7 @@ func TestShouldPropagateObj_PodAndReplicaSet(t *testing.T) {
12451245 want : false ,
12461246 },
12471247 {
1248- name : "pod owned by replicaset should NOT propagate " ,
1248+ name : "pod owned by replicaset - passes ShouldPropagateObj but filtered by resource config " ,
12491249 obj : map [string ]interface {}{
12501250 "apiVersion" : "v1" ,
12511251 "kind" : "Pod" ,
@@ -1262,7 +1262,7 @@ func TestShouldPropagateObj_PodAndReplicaSet(t *testing.T) {
12621262 UID : "67890" ,
12631263 },
12641264 },
1265- want : false ,
1265+ want : true , // ShouldPropagateObj doesn't filter Pods - they're filtered by NewResourceConfig
12661266 },
12671267 {
12681268 name : "controllerrevision owned by daemonset should NOT propagate" ,
You can’t perform that action at this time.
0 commit comments