mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
fix comment for cronjob utils.go
This commit is contained in:
parent
bef5cf386e
commit
d0982ba539
@ -159,7 +159,7 @@ func getRecentUnmetScheduleTimes(sj batchv1beta1.CronJob, now time.Time) ([]time
|
|||||||
// of this controller. In that case, we want to not try to list
|
// of this controller. In that case, we want to not try to list
|
||||||
// all the missed start times.
|
// all the missed start times.
|
||||||
//
|
//
|
||||||
// I've somewhat arbitrarily picked 100, as more than 80, but
|
// I've somewhat arbitrarily picked 100, as more than 80,
|
||||||
// but less than "lots".
|
// but less than "lots".
|
||||||
if len(starts) > 100 {
|
if len(starts) > 100 {
|
||||||
// We can't get the most recent times so just return an empty slice
|
// We can't get the most recent times so just return an empty slice
|
||||||
|
Loading…
Reference in New Issue
Block a user