Skip to content

Commit

Permalink
Fix the annotation missing issue for ray workload (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffwan authored Sep 25, 2024
1 parent d5b014d commit aa3ed95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (r *RayClusterFleetReconciler) createNewReplicaSet(ctx context.Context, d *
GenerateName: d.Name + "-",
Namespace: d.Namespace,
Labels: d.Spec.Template.Labels,
Annotations: make(map[string]string),
Annotations: d.Spec.Template.Annotations,
OwnerReferences: []metav1.OwnerReference{
*metav1.NewControllerRef(d, controllerKind),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func constructRayCluster(replicaset *orchestrationv1alpha1.RayClusterReplicaSet)
GenerateName: replicaset.Name + "-",
Namespace: replicaset.Namespace,
Labels: replicaset.Spec.Template.Labels,
Annotations: make(map[string]string),
Annotations: replicaset.Spec.Template.Annotations,
OwnerReferences: []metav1.OwnerReference{
*metav1.NewControllerRef(replicaset, controllerKind),
},
Expand Down

0 comments on commit aa3ed95

Please sign in to comment.