Correct typo in var name
This commit is contained in:
parent
69aec690fe
commit
4ffa1779f1
|
@ -101,7 +101,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
|
||||||
if c.Format != "" {
|
if c.Format != "" {
|
||||||
if c.RemoteType != "esx5" {
|
if c.RemoteType != "esx5" {
|
||||||
errs = packer.MultiErrorAppend(errs,
|
errs = packer.MultiErrorAppend(errs,
|
||||||
fmt.Errorf("format is only valid when RemoteType=esx5"))
|
fmt.Errorf("format is only valid when remote_type=esx5"))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
c.Format = "ovf"
|
c.Format = "ovf"
|
||||||
|
|
Loading…
Reference in New Issue