Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
switch to ID() for lotus client health check
Browse files Browse the repository at this point in the history
Signed-off-by: Merlin Ran <[email protected]>
  • Loading branch information
merlinran committed Jul 7, 2021
1 parent 51ec897 commit 3a82471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/lotusclient/lotusclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (c *Client) HealthCheck() error {
}
ctx, cancel := context.WithTimeout(c.ctx, requestTimeout)
defer cancel()
_, err := c.c.MarketListDeals(ctx)
_, err := c.c.ID(ctx)
return err
}

Expand Down

0 comments on commit 3a82471

Please sign in to comment.