Remove unused method

This commit is contained in:
Preetha Appan 2018-01-23 15:17:08 -06:00
parent ec1de50d01
commit 13444c08a4
No known key found for this signature in database
GPG key ID: 9F7C19990A50EAFC

View file

@ -106,21 +106,6 @@ func (r *ReschedulePolicy) Copy() *ReschedulePolicy {
return nrp
}
func (r *ReschedulePolicy) Empty() bool {
if r == nil {
return true
}
if r.Attempts != nil && *r.Attempts != 0 {
return false
}
if r.Interval != nil && *r.Interval != 0 {
return false
}
return true
}
// CheckRestart describes if and when a task should be restarted based on
// failing health checks.
type CheckRestart struct {