Skip to content

Commit

Permalink
proxy/grpcproxy: broadcast original watch ID
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Jun 14, 2018
1 parent e96a53c commit 50858d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proxy/grpcproxy/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ func (w *watcher) send(wr clientv3.WatchResponse) {
Created: wr.Created,
CompactRevision: wr.CompactRevision,
Canceled: wr.Canceled,
WatchId: w.id,
Events: events,

// broadcast original watch ID to coalesced watch streams
WatchId: wr.ID,
})
}

Expand Down

0 comments on commit 50858d3

Please sign in to comment.