Correcting all go vet errors

This commit is contained in:
Kris Rousey
2015-08-07 18:52:23 -07:00
parent 9fdd793555
commit 565189f5b8
118 changed files with 285 additions and 298 deletions

View File

@@ -84,7 +84,7 @@ type reaperFake struct {
}
func (c *reaperFake) Pods(namespace string) client.PodInterface {
pods := &testclient.FakePods{c.Fake, namespace}
pods := &testclient.FakePods{Fake: c.Fake, Namespace: namespace}
if c.noSuchPod {
return &noSuchPod{pods}
}
@@ -92,7 +92,7 @@ func (c *reaperFake) Pods(namespace string) client.PodInterface {
}
func (c *reaperFake) Services(namespace string) client.ServiceInterface {
services := &testclient.FakeServices{c.Fake, namespace}
services := &testclient.FakeServices{Fake: c.Fake, Namespace: namespace}
if c.noDeleteService {
return &noDeleteService{services}
}