Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyzags committed Jan 28, 2025
1 parent 10e7f12 commit 6827b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/relayer/relayminer.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (rel *relayMiner) newPinghandlerFn(ctx context.Context, ln net.Listener) ht
rel.logger.Debug().Msg("pinging relay servers...")

if err := rel.relayerProxy.PingAll(ctx); err != nil {
var urlError url.Error
var urlError *url.Error
if errors.As(err, &urlError) && urlError.Temporary() {
w.WriteHeader(http.StatusGatewayTimeout)
} else {
Expand Down

0 comments on commit 6827b46

Please sign in to comment.