mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
error message change
This commit is contained in:
parent
d722d3c634
commit
9d02247eba
1 changed files with 2 additions and 2 deletions
|
|
@ -441,7 +441,7 @@ func (cfg *PackerConfig) buildPrereqsDAG() (*dag.AcyclicGraph, error) {
|
|||
for _, dep := range ds.Dependencies {
|
||||
target := verticesMap[dep.String()]
|
||||
if target == nil {
|
||||
err = multierror.Append(err, fmt.Errorf("unknown dependency %q for %q", dep.String(), dsName))
|
||||
err = multierror.Append(err, fmt.Errorf("could not get dependency %q for %q, %q missing in template", dep.String(), dsName, dep.String()))
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
@ -461,7 +461,7 @@ func (cfg *PackerConfig) buildPrereqsDAG() (*dag.AcyclicGraph, error) {
|
|||
target := verticesMap[dep.String()]
|
||||
|
||||
if target == nil {
|
||||
err = multierror.Append(err, fmt.Errorf("unknown dependency %q for %q", dep.String(), locName))
|
||||
err = multierror.Append(err, fmt.Errorf("could not get dependency %q for %q, %q missing in template", dep.String(), locName, dep.String()))
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue