"git@git.gitsec.cn:baidan/packer.git" did not exist on "1506fef7d47dd83d0d5740ba21d9c35c5772bbba"
Unverified Commit 00bea00b authored by Preetha Appan's avatar Preetha Appan
Browse files

Remove unused method

parent ace9c4bb
No related merge requests found
Showing with 0 additions and 15 deletions
+0 -15
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment