Skip to content

Commit

Permalink
fixing logger assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhuie19 committed Jul 11, 2024
1 parent e309073 commit 7a710de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/services/ocr2/plugins/ccip/ccipexec/initializers.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var (
var defaultNewReportingPluginRetryConfig = ccipdata.RetryConfig{InitialDelay: time.Second, MaxDelay: 5 * time.Minute}

func NewExecServices(ctx context.Context, lggr logger.Logger, cfg plugins.RegistrarConfig, jb job.Job, sourceTokenAddress string, srcProvider types.CCIPExecProvider, dstProvider types.CCIPExecProvider, srcChainID int64, dstChainID int64, new bool, argsNoPlugin libocr2.OCR2OracleArgs, logError func(string)) ([]job.ServiceCtx, error) {
lggr.Named(fmt.Sprintf("ccip-exec-%v", jb.ID))
lggr = lggr.Named("ccip-exec").Named(string(jb.ID))

loopCmd := env.CCIPExecPlugin.Cmd.Get()
loopEnabled := loopCmd != ""
Expand Down

0 comments on commit 7a710de

Please sign in to comment.