Fix linting

This commit is contained in:
Preetha Appan
2018-01-22 16:40:47 -06:00
parent b2068741f7
commit e41f68d7fa

View File

@@ -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 ->")
}
}