Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
[epociask/no-issue-withdrawal-enforce] Fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethen Pociask committed Jun 28, 2023
1 parent df7a56c commit f605559
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/pessimism/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {

ctx = app.InitializeContext(ctx, ss, l1Client, l2Client)

pessimism, close, err := app.NewPessimismApp(ctx, cfg)
pessimism, shutdown, err := app.NewPessimismApp(ctx, cfg)

if err != nil {
logger.Fatal("Error creating pessimism application", zap.Error(err))
Expand All @@ -67,7 +67,7 @@ func main() {
logger.Debug("Application state successfully bootstrapped")
}

pessimism.ListenForShutdown(close)
pessimism.ListenForShutdown(shutdown)
logger.Info("Successful pessimism shutdown")

os.Exit(0)
Expand Down
10 changes: 5 additions & 5 deletions internal/api/service/invariant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func Test_ProcessInvariantRequest(t *testing.T) {

ts.mockEtlMan.EXPECT().
CreateDataPipeline(gomock.Any()).
Return(core.NilPUUID(), testErr1()).
Return(core.NilPUUID(), false, testErr1()).
Times(1)

return ts
Expand All @@ -102,7 +102,7 @@ func Test_ProcessInvariantRequest(t *testing.T) {

ts.mockEtlMan.EXPECT().
CreateDataPipeline(gomock.Any()).
Return(core.NilPUUID(), nil).
Return(core.NilPUUID(), false, nil).
Times(1)

ts.mockEtlMan.EXPECT().
Expand Down Expand Up @@ -134,7 +134,7 @@ func Test_ProcessInvariantRequest(t *testing.T) {

ts.mockEtlMan.EXPECT().
CreateDataPipeline(gomock.Any()).
Return(core.NilPUUID(), nil).
Return(core.NilPUUID(), false, nil).
Times(1)

ts.mockEtlMan.EXPECT().
Expand Down Expand Up @@ -176,7 +176,7 @@ func Test_ProcessInvariantRequest(t *testing.T) {

ts.mockEtlMan.EXPECT().
CreateDataPipeline(gomock.Any()).
Return(core.NilPUUID(), nil).
Return(core.NilPUUID(), false, nil).
Times(1)

ts.mockEtlMan.EXPECT().
Expand Down Expand Up @@ -218,7 +218,7 @@ func Test_ProcessInvariantRequest(t *testing.T) {

ts.mockEtlMan.EXPECT().
CreateDataPipeline(gomock.Any()).
Return(core.NilPUUID(), nil).
Return(core.NilPUUID(), false, nil).
Times(1)

ts.mockEtlMan.EXPECT().
Expand Down

0 comments on commit f605559

Please sign in to comment.