Skip to content

Commit

Permalink
fix: fix can not get drainer status from pd (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
srstack authored Jun 16, 2022
1 parent e52c3bb commit 00a67b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/api/binlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (c *BinlogClient) IsDrainerTombstone(ctx context.Context, addr string) (boo
if err != nil {
return false, err
}
return c.isTombstone(ctx, "drainer", nodeID)
return c.isTombstone(ctx, "drainers", nodeID)
}

func (c *BinlogClient) isTombstone(ctx context.Context, ty string, nodeID string) (bool, error) {
Expand Down

0 comments on commit 00a67b8

Please sign in to comment.