Merge pull request #1062 from nicksardo/fix-test
Fix fake of instance group mgmt
This commit is contained in:
commit
504bf929fd
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
|
||||
}
|
||||
}
|
||||
// TODO: Return googleapi 404 error
|
||||
return nil, fmt.Errorf("instance group %v not found", name)
|
||||
|
||||
return nil, utils.FakeGoogleAPINotFoundErr()
|
||||
}
|
||||
|
||||
// CreateInstanceGroup fakes instance group creation.
|
||||
|
|
Loading…
Reference in a new issue