Skip to content

Commit

Permalink
remove deprecated calls from serverless go integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
genesor committed Feb 6, 2025
1 parent e6c40c2 commit 07013f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration/serverless/src/go-tests/log/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ func testHandler(_ context.Context, _ events.APIGatewayProxyRequest) (testRespon
}

func main() {
lambda.Start(ddlambda.WrapHandler(testHandler, nil))
lambda.Start(ddlambda.WrapFunction(testHandler, nil))
}
2 changes: 1 addition & 1 deletion test/integration/serverless/src/go-tests/metric/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ func testHandler(_ context.Context, _ events.APIGatewayProxyRequest) (testRespon
}

func main() {
lambda.Start(ddlambda.WrapHandler(testHandler, nil))
lambda.Start(ddlambda.WrapFunction(testHandler, nil))
}
2 changes: 1 addition & 1 deletion test/integration/serverless/src/go-tests/timeout/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ func testHandler(_ context.Context, _ events.APIGatewayProxyRequest) (testRespon
}

func main() {
lambda.Start(ddlambda.WrapHandler(testHandler, nil))
lambda.Start(ddlambda.WrapFunction(testHandler, nil))
}

0 comments on commit 07013f4

Please sign in to comment.