浏览代码

grpcproxy: forward Canceled field when broadcasting watch responses

Anthony Romano 8 年之前
父节点
当前提交
9581f7676c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      proxy/grpcproxy/watcher.go

+ 1 - 0
proxy/grpcproxy/watcher.go

@@ -111,6 +111,7 @@ func (w *watcher) send(wr clientv3.WatchResponse) {
 		Header:          &wr.Header,
 		Created:         wr.Created,
 		CompactRevision: wr.CompactRevision,
+		Canceled:        wr.Canceled,
 		WatchId:         w.id,
 		Events:          events,
 	})