Skip to content

Commit 000e842

Browse files
authored
Use lamdba hosting as entry not our test code (#962)
1 parent 7aefb1b commit 000e842

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/infra/docs-lambda-index-publisher/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

1414
const string bucketName = "elastic-docs-link-index";
1515

16-
// await LambdaBootstrapBuilder.Create(Handler)
17-
// .Build()
18-
// .RunAsync();
16+
await LambdaBootstrapBuilder.Create(Handler)
17+
.Build()
18+
.RunAsync();
1919

2020
// Uncomment to test locally without uploading
21-
await CreateLinkIndex(new AmazonS3Client());
21+
// await CreateLinkIndex(new AmazonS3Client());
2222

2323
#pragma warning disable CS8321 // Local function is declared but never used
2424
static async Task<string> Handler(ILambdaContext context)

0 commit comments

Comments
 (0)