Skip to content

Commit

Permalink
rollback targetref
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhu committed May 23, 2023
1 parent 589c29c commit ff64836
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@ func (c *RecommendationRuleController) doReconcile(ctx context.Context, recommen
for _, id := range identities {
for _, recommender := range recommendationRule.Spec.Recommenders {
currMissions = append(currMissions, analysisv1alph1.RecommendationMission{
TargetRef: corev1.ObjectReference{
Name: id.Name,
Namespace: id.Namespace,
},
TargetRef: id.GetObjectReference(),
RecommenderRef: analysisv1alph1.Recommender{
Name: recommender.Name,
},
Expand Down

0 comments on commit ff64836

Please sign in to comment.