Switch on Cacher for pods, endpoints and nodes.

This commit is contained in:
Wojciech Tyczynski
2015-08-17 09:59:12 +02:00
parent 44fa48e5af
commit ec6556987e
10 changed files with 151 additions and 21 deletions

View File

@@ -44,7 +44,7 @@ func (fakeConnectionInfoGetter) GetConnectionInfo(host string) (string, uint, ht
func newStorage(t *testing.T) (*REST, *tools.FakeEtcdClient) {
etcdStorage, fakeClient := registrytest.NewEtcdStorage(t)
storage, _ := NewREST(etcdStorage, fakeConnectionInfoGetter{})
storage, _ := NewREST(etcdStorage, false, fakeConnectionInfoGetter{})
return storage, fakeClient
}