Event test client may or may not be namespaced

This commit is contained in:
derekwaynecarr
2015-08-06 15:22:52 -04:00
parent 0d1f2cd227
commit 72be244383
2 changed files with 38 additions and 9 deletions

View File

@@ -119,7 +119,7 @@ func (c *Fake) Nodes() client.NodeInterface {
}
func (c *Fake) Events(namespace string) client.EventInterface {
return &FakeEvents{Fake: c}
return &FakeEvents{Fake: c, Namespace: namespace}
}
func (c *Fake) Endpoints(namespace string) client.EndpointsInterface {