Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 2837174

Browse files
committed
Remove commented out copy pasted code
1 parent 67859ab commit 2837174

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

operator/controllers/execution/scan_controller.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -522,13 +522,6 @@ func (r *ScanReconciler) constructJobForScan(scan *executionv1.Scan, scanType *e
522522

523523
job.Spec.Template.Spec.Containers = append(job.Spec.Template.Spec.Containers, *lurcherSidecar)
524524

525-
// for k, v := range cronJob.Spec.JobTemplate.Annotations {
526-
// job.Annotations[k] = v
527-
// }
528-
// job.Annotations[scheduledTimeAnnotation] = scheduledTime.Format(time.RFC3339)
529-
// for k, v := range cronJob.Spec.JobTemplate.Labels {
530-
// job.Labels[k] = v
531-
// }
532525
if err := ctrl.SetControllerReference(scan, job, r.Scheme); err != nil {
533526
return nil, err
534527
}

0 commit comments

Comments
 (0)