Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Sep 17, 2024
1 parent 4b937ac commit 8e72d9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/server/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ import (
)

func StartProxySvr(cliCtx *cli.Context) error {
fmt.Printf("Starting EigenDA Proxy Server - Version %v - Date %v - Commit %v\n", Version, Date, Commit)
log := oplog.NewLogger(oplog.AppOut(cliCtx), oplog.ReadCLIConfig(cliCtx)).New("role", "eigenda_proxy")
oplog.SetGlobalLogHandler(log.Handler())
log.Info("Starting EigenDA Proxy Server", "version", Version, "date", Date, "commit", Commit)

cfg := server.ReadCLIConfig(cliCtx)
if err := cfg.Check(); err != nil {
return err
Expand All @@ -23,9 +26,6 @@ func StartProxySvr(cliCtx *cli.Context) error {

m := metrics.NewMetrics("default")

log := oplog.NewLogger(oplog.AppOut(cliCtx), oplog.ReadCLIConfig(cliCtx)).New("role", "eigenda_proxy")
oplog.SetGlobalLogHandler(log.Handler())

log.Info("Initializing EigenDA proxy server...")

daRouter, err := server.LoadStoreRouter(ctx, cfg, log)
Expand Down

0 comments on commit 8e72d9a

Please sign in to comment.