Skip to content

Commit

Permalink
Turn error into warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Nov 3, 2024
1 parent 741074e commit 1e025d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checks/LambdaMemoryLimit.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function check(): CheckResult
$recommendedMemory = 1024;

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

return $this->ok();
Expand Down

0 comments on commit 1e025d4

Please sign in to comment.