Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yujiezhu0 committed Feb 4, 2025
1 parent d55a072 commit d41c0b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions disperser/cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"github.com/Layr-Labs/eigenda/disperser/common/v2/blobstore"
"github.com/Layr-Labs/eigenda/disperser/controller"
"github.com/Layr-Labs/eigenda/disperser/encoder"
"github.com/Layr-Labs/eigensdk-go/logging"
gethcommon "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/rpc"
"github.com/gammazero/workerpool"
Expand Down Expand Up @@ -228,7 +229,7 @@ func RunController(ctx *cli.Context) error {
logger.Warn("Failed to create readiness file", "error", err, "path", controllerReadinessProbePath)
}

// Signal liveness
// Signal heartbeat
signalHeartbeat(logger)

return nil
Expand Down Expand Up @@ -265,7 +266,7 @@ func heartbeatMonitor(filePath string, controllerMaxStallDuration time.Duration)
}
}

func signalHeartbeat(logger common.Logger) {
func signalHeartbeat(logger logging.Logger) {
select {
case controllerHeartbeatChan <- time.Now():
logger.Info("Heartbeat signal sent from Controller")
Expand Down

0 comments on commit d41c0b0

Please sign in to comment.