fix comment
This commit is contained in:
parent
457bbe661a
commit
45c4868f90
|
@ -237,7 +237,7 @@ func resourceComputeInstanceRead(d *schema.ResourceData, meta interface{}) error
|
||||||
|
|
||||||
newFlavor, ok := server.Flavor["id"].(string)
|
newFlavor, ok := server.Flavor["id"].(string)
|
||||||
if !ok {
|
if !ok {
|
||||||
return fmt.Errorf("Error setting OpenStack server's flavor: %v", newFlavor)
|
return fmt.Errorf("Error setting OpenStack server's flavor: %v", server.Flavor)
|
||||||
}
|
}
|
||||||
d.Set("flavor_ref", newFlavor)
|
d.Set("flavor_ref", newFlavor)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue