Skip to content

Commit

Permalink
fix: periodics test
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Jan 10, 2024
1 parent 50b3f44 commit e5eebfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/trigger/periodic.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func (pa *PeriodicAgent) UpdatePeriodicsForRepo(
}

pj := jobutil.NewLighthouseJob(jobutil.PeriodicSpec(l, p, refs), labels, p.Annotations)
lighthouseData, err := json.MarshalIndent(pj, "", " ")
lighthouseData, err := json.Marshal(pj)

// Only apply if any value have changed
existingCm := getExistingConfigMap(p)
Expand Down

0 comments on commit e5eebfa

Please sign in to comment.