Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
8281454608
  1. 4
      internal/model/validate.go

4
internal/model/validate.go

@ -70,7 +70,9 @@ func (m *Model) validateJob(job *jw.Job) error {
job.Private = make(map[string]interface{})
}
// AFINIR: Exclusivity
if job.Exclusivity == "" {
job.Exclusivity = jw.ExclusivityNo
}
if job.MaxRetries < 0 {
job.MaxRetries = 0

Loading…
Cancel
Save