provider/vsphere: Fix gofmt
This commit is contained in:
parent
47d0830ccb
commit
9202bc0e1c
|
@ -236,8 +236,8 @@ func resourceVSphereVirtualMachine() *schema.Resource {
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"type" : &schema.Schema{
|
"type": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
Default: "eager_zeroed",
|
Default: "eager_zeroed",
|
||||||
|
@ -404,7 +404,7 @@ func resourceVSphereVirtualMachineCreate(d *schema.ResourceData, meta interface{
|
||||||
}
|
}
|
||||||
if v, ok := disk["type"].(string); ok && v != "" {
|
if v, ok := disk["type"].(string); ok && v != "" {
|
||||||
disks[i].initType = v
|
disks[i].initType = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
vm.hardDisks = disks
|
vm.hardDisks = disks
|
||||||
log.Printf("[DEBUG] disk init: %v", disks)
|
log.Printf("[DEBUG] disk init: %v", disks)
|
||||||
|
|
Loading…
Reference in New Issue