From 62067fb1b9f363b3d944fed69e85f7ce99599cdf Mon Sep 17 00:00:00 2001 From: Nick Sardo Date: Wed, 2 Aug 2017 14:36:33 -0700 Subject: [PATCH] Fix fake of instance group mgmt --- controllers/gce/instances/fakes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/gce/instances/fakes.go b/controllers/gce/instances/fakes.go index aabefe046..37d38fa81 100644 --- a/controllers/gce/instances/fakes.go +++ b/controllers/gce/instances/fakes.go @@ -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.