Files
velero/changelogs
Scott Seago aa44cf1c32 Check for nil LastMaintenanceTime in dueForMaintenance (#2200)
* Check for nil LastMaintenanceTime in dueForMaintenance

ResticRepository.dueForMaintenance causes a panic in the velero pod
("invalid memory address or nil pointer dereference") if
repository.Status.LastMaintenanceTime is nil. This fix returns 'true'
if it's nil, so the repository is due for maintenance if LastMaintenanceTime
is nil *or* the time elapsed since the last maintenance is greater than
repository.Spec.MaintenanceFrequency.Duration

Signed-off-by: Scott Seago <sseago@redhat.com>

* changelog for PR#2200

Signed-off-by: Scott Seago <sseago@redhat.com>
2020-01-15 12:06:16 -05:00
..
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2019-02-04 17:35:22 -05:00
2019-02-27 08:23:21 -08:00
2019-05-15 09:45:19 -07:00
2019-05-19 13:42:16 -06:00
2019-08-21 15:01:10 -06:00
2019-11-07 08:20:22 -07:00