Merge pull request #30623 from lixiaobing10051267/masterEtcd3

fix wrong path for all registries
This commit is contained in:
Tim Hockin 2016-08-17 13:01:17 -07:00 committed by GitHub
commit 7b762fb34b

2
docs/proposals/apiserver-watch.md Executable file → Normal file
View File

@ -99,7 +99,7 @@ to implement the proposal.
1. Since we want the watch in apiserver to be optional for different resource 1. Since we want the watch in apiserver to be optional for different resource
types, this needs to be self-contained and hidden behind a well defined API. types, this needs to be self-contained and hidden behind a well defined API.
This should be a layer very close to etcd - in particular all registries: This should be a layer very close to etcd - in particular all registries:
"pkg/registry/generic/etcd" should be built on top of it. "pkg/registry/generic/registry" should be built on top of it.
We will solve it by turning tools.EtcdHelper by extracting its interface We will solve it by turning tools.EtcdHelper by extracting its interface
and treating this interface as this API - the whole watch mechanisms in and treating this interface as this API - the whole watch mechanisms in
apiserver will be hidden behind that interface. apiserver will be hidden behind that interface.