Skip to content

Commit 1e025d4

Browse files
committed
Turn error into warning
1 parent 741074e commit 1e025d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Checks/LambdaMemoryLimit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function check(): CheckResult
1818
$recommendedMemory = 1024;
1919

2020
if ($memoryAvailableInMb < $recommendedMemory) {
21-
return $this->error("The memory limit configured is $memoryAvailableInMb MB, but $recommendedMemory MB is recommended.");
21+
return $this->warning("The memory limit configured is $memoryAvailableInMb MB, but $recommendedMemory MB is recommended.");
2222
}
2323

2424
return $this->ok();

0 commit comments

Comments
 (0)