Merge pull request #7631 from aaronk1/patch-1

Correct typo in var name
This commit is contained in:
Adrien Delorme 2019-05-13 10:45:03 +02:00 committed by GitHub
commit 8367447b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
if c.Format != "" {
if c.RemoteType != "esx5" {
errs = packer.MultiErrorAppend(errs,
fmt.Errorf("format is only valid when RemoteType=esx5"))
fmt.Errorf("format is only valid when remote_type=esx5"))
}
} else {
c.Format = "ovf"