Skip to content

Commit

Permalink
fix old owner
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Aug 15, 2021
1 parent 544ed33 commit ef9b9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func (s *Server) campaignOwnerLoop(ctx context.Context) error {
}
captureID := s.capture.info.ID
log.Info("campaign owner successfully", zap.String("capture-id", captureID))
owner, err := NewOwner(ctx, s.pdClient, conf.Security, s.capture.session, conf.GcTTL, time.Duration(conf.OwnerFlushInterval))
owner, err := NewOwner(ctx, s.pdClient, s.capture.grpcPool, s.capture.session, conf.GcTTL, time.Duration(conf.OwnerFlushInterval))
if err != nil {
log.Warn("create new owner failed", zap.Error(err))
continue
Expand Down

0 comments on commit ef9b9ee

Please sign in to comment.