change etcdIndec to etcdIndex

This commit is contained in:
eulerzgy 2015-09-21 15:21:11 +08:00
parent 6dad530a1f
commit 696372a693

View File

@ -116,7 +116,7 @@ we will store two things:
This should be as simple as having an array an treating it as a cyclic buffer. This should be as simple as having an array an treating it as a cyclic buffer.
Obviously resourceVersion of objects watched from etcd will be increasing, but Obviously resourceVersion of objects watched from etcd will be increasing, but
they are necessary for registering a new watcher that is interested in all the they are necessary for registering a new watcher that is interested in all the
changes since a given etcdIndec. changes since a given etcdIndex.
Additionally, we should support LIST operation, otherwise clients can never Additionally, we should support LIST operation, otherwise clients can never
start watching at now. We may consider passing lists through etcd, however start watching at now. We may consider passing lists through etcd, however