mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Fix linting
This commit is contained in:
@@ -183,7 +183,7 @@ func parseJob(result *api.Job, list *ast.ObjectList) error {
|
||||
// If we have a reschedule stanza, then parse that
|
||||
if o := listVal.Filter("reschedule"); len(o.Items) > 0 {
|
||||
if err := parseReschedulePolicy(&result.Reschedule, o); err != nil {
|
||||
return multierror.Prefix(err, fmt.Sprintf("'%s', reschedule ->"))
|
||||
return multierror.Prefix(err, "reschedule ->")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user