fixup rebase
This commit is contained in:
parent
b38c1d810e
commit
dec1a58b47
|
@ -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 ->")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue