ソースを参照

grpcproxy: forward Canceled field when broadcasting watch responses

Anthony Romano 9 年 前
親
コミット
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,
 	})