fix invalid disc_discard setting error message

This commit is contained in:
Evgeni Golov 2018-04-20 13:17:40 +02:00 committed by GitHub
parent 508064d0af
commit 5a10e5a038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {