mirror: Add missing events from mirror watch. (#1804)

This commit is contained in:
Harshavardhana
2016-08-19 15:26:15 -07:00
committed by GitHub
parent e25f1ee72f
commit a885ffd64b
+1
View File
@@ -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 {