Correct typo in var name

This commit is contained in:
aaronk1 2019-05-10 18:49:42 -04:00 committed by GitHub
parent 69aec690fe
commit 4ffa1779f1
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"