From 4054eb7ccfed299d4bdc664422ff3d75b725f490 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Mon, 6 May 2024 13:43:19 -0400 Subject: [PATCH] Use ModRevision in newer watchData usage Signed-off-by: Matt Lord --- go/vt/topo/etcd2topo/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/topo/etcd2topo/watch.go b/go/vt/topo/etcd2topo/watch.go index a3edf727b55..6bda2f85423 100644 --- a/go/vt/topo/etcd2topo/watch.go +++ b/go/vt/topo/etcd2topo/watch.go @@ -259,7 +259,7 @@ func (s *Server) WatchRecursive(ctx context.Context, dirpath string) ([]*topo.Wa Path: string(ev.Kv.Key), WatchData: topo.WatchData{ Contents: ev.Kv.Value, - Version: EtcdVersion(ev.Kv.Version), + Version: EtcdVersion(ev.Kv.ModRevision), }, } case mvccpb.DELETE: