Merge pull request #6167 from evgeni/patch-1

fix invalid disc_discard setting  error message
This commit is contained in:
Matthew Hooker 2018-04-20 11:22:40 -07:00 committed by GitHub
commit 8079616cc3
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 {