Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Implement changes from review
Signed-off-by: Frederic Kayser <frederic@frederic-kayser.de>
  • Loading branch information
FredericKayser committed Oct 29, 2025
commit 432aab3981271e97162dc139c9adf39d567747b1
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,9 @@ func (feast *FeastServices) setCronJob(cronJob *batchv1.CronJob) error {
appliedCronJob := feast.Handler.FeatureStore.Status.Applied.CronJob
cronJob.Labels = feast.getFeastTypeLabels(CronJobFeastType)
if appliedCronJob.Annotations != nil {
if cronJob.Annotations == nil {
cronJob.Annotations = make(map[string]string)
}
cronJob.Annotations = make(map[string]string, len(appliedCronJob.Annotations))
for k, v := range appliedCronJob.Annotations {
if _, exists := cronJob.Annotations[k]; !exists {
cronJob.Annotations[k] = v
}
cronJob.Annotations[k] = v
Comment thread
FredericKayser marked this conversation as resolved.
}
}
cronJob.Spec = batchv1.CronJobSpec{
Expand Down
Loading