Skip to content

Commit 738fabd

Browse files
authored
[Bref] Add layer name (#83)
* [Bref] Add layer name * Add name to consoleApplicationRUnner * Use hyphens * cs
1 parent 5fe792d commit 738fabd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BrefRunner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(Handler $handler, int $loopMax)
2424

2525
public function run(): int
2626
{
27-
$lambda = LambdaRuntime::fromEnvironmentVariable();
27+
$lambda = LambdaRuntime::fromEnvironmentVariable('symfony-runtime');
2828

2929
$loops = 0;
3030
while (true) {

src/ConsoleApplicationRunner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(Application $application)
2626

2727
public function run(): int
2828
{
29-
$lambda = LambdaRuntime::fromEnvironmentVariable();
29+
$lambda = LambdaRuntime::fromEnvironmentVariable('symfony-runtime-console');
3030

3131
while (true) {
3232
$lambda->processNextEvent(function ($event, Context $context): array {

0 commit comments

Comments
 (0)