Merge pull request #6167 from evgeni/patch-1
fix invalid disc_discard setting error message
This commit is contained in:
commit
8079616cc3
|
@ -280,7 +280,7 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
|
|||
|
||||
if _, ok := diskDiscard[b.config.DiskDiscard]; !ok {
|
||||
errs = packer.MultiErrorAppend(
|
||||
errs, errors.New("unrecognized disk cache type"))
|
||||
errs, errors.New("unrecognized disk discard type"))
|
||||
}
|
||||
|
||||
if !b.config.PackerForce {
|
||||
|
|
Loading…
Reference in New Issue