Commit 57797b87 authored by lixiaobing10051267's avatar lixiaobing10051267

fix wrong path for all registries

parent 89b4598a
...@@ -99,7 +99,7 @@ to implement the proposal. ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment