etcdserver: use mvcc.WatchableKV for prev-kv watch

This commit is contained in:
Gyu-Ho Lee 2016-10-07 14:21:39 -07:00
parent 6ae7ec9a3f
commit 6f89fbf8b5

View File

@ -551,4 +551,4 @@ func (s *EtcdServer) processInternalRaftRequest(ctx context.Context, r pb.Intern
}
// Watchable returns a watchable interface attached to the etcdserver.
func (s *EtcdServer) Watchable() mvcc.Watchable { return s.KV() }
func (s *EtcdServer) Watchable() mvcc.WatchableKV { return s.KV() }