packer: fix filename in verbose logs

This commit is contained in:
Lucas Bajolet 2024-04-10 17:43:48 -04:00 committed by Lucas Bajolet
parent 04a2542a6f
commit 32e64c98d1

View file

@ -864,7 +864,7 @@ func (pr *Requirement) InstallLatest(opts InstallOptions) (*Installation, error)
break
}
if copyFrom == nil {
err := fmt.Errorf("could not find a %s file in zipfile", checksum.Filename)
err := fmt.Errorf("could not find a %q file in zipfile", expectedBinaryFilename)
errs = multierror.Append(errs, err)
return nil, errs
}