Skip to content

Commit

Permalink
fixup rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
endocrimes committed Aug 12, 2019
1 parent 547a454 commit e57cf06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jobspec/parse_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ func parseTask(item *ast.ObjectItem) (*api.Task, error) {
// Parse volume mounts
if o := listVal.Filter("volume_mount"); len(o.Items) > 0 {
if err := parseVolumeMounts(&t.VolumeMounts, o); err != nil {
return multierror.Prefix(err, fmt.Sprintf(
"'%s', volume_mount ->", n))
return nil, multierror.Prefix(err, "volume_mount ->")
}
}

Expand Down

0 comments on commit e57cf06

Please sign in to comment.