diff --git a/test/e2e/framework/policies/propagationpolicy.go b/test/e2e/framework/policies/propagationpolicy.go index 2b9de1bf..3ed7e5f3 100644 --- a/test/e2e/framework/policies/propagationpolicy.go +++ b/test/e2e/framework/policies/propagationpolicy.go @@ -38,12 +38,12 @@ func PropagationPolicyForClustersWithPlacements( }, Spec: fedcorev1a1.PropagationPolicySpec{ SchedulingMode: fedcorev1a1.SchedulingModeDuplicate, - Placements: []fedcorev1a1.ClusterReference{}, + Placements: []fedcorev1a1.DesiredPlacement{}, }, } for _, c := range clusters { - policy.Spec.Placements = append(policy.Spec.Placements, fedcorev1a1.ClusterReference{Cluster: c.Name}) + policy.Spec.Placements = append(policy.Spec.Placements, fedcorev1a1.DesiredPlacement{Cluster: c.Name}) } return policy