Skip to content

Commit

Permalink
Merge branch 'master' into fix_owner_block_http_api
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzix authored Nov 18, 2021
2 parents 932e945 + 6ee8d2c commit 02e1b61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/orchestrator/reactor_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ func (s *GlobalReactorState) Update(key util.EtcdKey, value []byte, _ bool) erro
return nil
case etcd.CDCKeyTypeCapture:
if value == nil {
log.Info("remote capture offline", zap.String("capture-id", k.CaptureID))
log.Info("remote capture offline",
zap.String("capture-id", k.CaptureID),
zap.Any("info", s.Captures[k.CaptureID]))
delete(s.Captures, k.CaptureID)
return nil
}
Expand Down

0 comments on commit 02e1b61

Please sign in to comment.