google_compute_instance_group: Correct error message for invalid instances
This commit is contained in:
parent
111a59c634
commit
86bf978550
|
@ -225,7 +225,7 @@ func resourceComputeInstanceGroupUpdate(d *schema.ResourceData, meta interface{}
|
|||
return fmt.Errorf("Error invalid instance URLs: %v", from)
|
||||
}
|
||||
if !validInstanceURLs(to) {
|
||||
return fmt.Errorf("Error invalid instance URLs: %v", from)
|
||||
return fmt.Errorf("Error invalid instance URLs: %v", to)
|
||||
}
|
||||
|
||||
add, remove := calcAddRemove(from, to)
|
||||
|
|
Loading…
Reference in New Issue