Remove unused method

This commit is contained in:
Preetha Appan
2018-01-23 15:17:08 -06:00
parent de34bc41fe
commit 89a467aaaf

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 {