mirror: Add missing events from mirror watch. (#1804)
This commit is contained in:
@@ -150,6 +150,7 @@ func (w *Watcher) Unjoin(client Client, recursive bool) *probe.Error {
|
||||
func (w *Watcher) Join(client Client, recursive bool) *probe.Error {
|
||||
wo, err := client.Watch(watchParams{
|
||||
recursive: recursive,
|
||||
events: []string{"put", "delete"},
|
||||
accountID: fmt.Sprintf("%d", w.sessionStartTime.Unix()),
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user