google_compute_instance_group: Correct error message for invalid instances

This commit is contained in:
Bill Fumerola 2016-02-27 12:23:40 -08:00
parent 111a59c634
commit 86bf978550
1 changed files with 1 additions and 1 deletions

View File

@ -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)