mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 16:59:26 +00:00
Remove parent context
This commit is contained in:
parent
a8be551cf4
commit
bc2ace94ee
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package health
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"net/http"
|
||||
|
||||
|
|
@ -12,7 +13,7 @@ var (
|
|||
)
|
||||
|
||||
func checkSynced(ec ethClient, r *http.Request) error {
|
||||
i, err := ec.SyncProgress(r.Context())
|
||||
i, err := ec.SyncProgress(context.TODO())
|
||||
if err != nil {
|
||||
log.Root().Warn("Unable to check sync status for healthcheck", "err", err.Error())
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in a new issue