• Tom Wanielista's avatar
    Avoid panic in cronjob sorting · ae13b88a
    Tom Wanielista authored
    This change handles the case where the ith cronjob may have its start
    time set to nil.
    
    Previously, the Less method could cause a panic in case the ith
    cronjob had its start time set to nil, but the jth cronjob did not. It
    would panic when calling Before on a nil StartTime.
    ae13b88a
utils.go 6.98 KB