mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Add new reschedule stanza fields to list of valid fields
This commit is contained in:
@@ -446,6 +446,10 @@ func parseReschedulePolicy(final **api.ReschedulePolicy, list *ast.ObjectList) e
|
||||
valid := []string{
|
||||
"attempts",
|
||||
"interval",
|
||||
"unlimited",
|
||||
"delay",
|
||||
"delay_ceiling",
|
||||
"delay_function",
|
||||
}
|
||||
if err := helper.CheckHCLKeys(obj.Val, valid); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user