Fix fake of instance group mgmt
This commit is contained in:
parent
077d1e40bb
commit
62067fb1b9
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue