Fix fake of instance group mgmt

This commit is contained in:
Nick Sardo 2017-08-02 14:36:33 -07:00
parent 077d1e40bb
commit 62067fb1b9

View file

@ -76,8 +76,8 @@ func (f *FakeInstanceGroups) GetInstanceGroup(name, zone string) (*compute.Insta
return ig, nil return ig, nil
} }
} }
// TODO: Return googleapi 404 error
return nil, fmt.Errorf("instance group %v not found", name) return nil, utils.FakeGoogleAPINotFoundErr()
} }
// CreateInstanceGroup fakes instance group creation. // CreateInstanceGroup fakes instance group creation.