Merge pull request #1062 from nicksardo/fix-test

Fix fake of instance group mgmt
This commit is contained in:
Nick Sardo 2017-08-02 15:11:07 -07:00 committed by GitHub
commit 504bf929fd

View file

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