kubernetes/pkg/controller/scheduledjob
Kubernetes Submit Queue 7d911417c2 Merge pull request #35420 from soltysh/sj_replace_fix
Automatic merge from submit-queue

Remove Job also from .status.active for Replace strategy

When iterating over list of Jobs we're removing each of them when strategy is replace. Unfortunately, the job reference was not removed from `.status.active` which cause the controller trying to remove it once again during next run and failed removing what was already removed during previous run. This was cause by not removing the reference previously. This PR fixes that and cleans logs a bit, in that controller.

@erictune fyi
@janetkuo ptal
2016-10-30 05:08:43 -07:00
..
BUILD include multiple versions in clientset 2016-10-29 13:30:47 -07:00
controller_test.go Remove Job also from .status.active for Replace strategy 2016-10-25 21:44:03 +02:00
controller.go Merge pull request #35420 from soltysh/sj_replace_fix 2016-10-30 05:08:43 -07:00
doc.go Fix errors, verification and test failures; add unit test for sj UpdateStatus 2016-08-05 13:35:39 -07:00
injection.go Remove Job also from .status.active for Replace strategy 2016-10-25 21:44:03 +02:00
utils_test.go controller: remove duplicate created-by annotation from scheduled jobs 2016-09-08 14:53:14 +02:00
utils.go Remove hacks from ScheduledJobs cron spec parsing 2016-09-14 20:30:20 +02:00