mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
run pint
This commit is contained in:
@@ -40,7 +40,7 @@ class BuildModificationService
|
||||
throw_unless($existingAllocation, new DisplayException('The requested default allocation is not currently assigned to this server.'));
|
||||
}
|
||||
|
||||
if(!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
|
||||
if (!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
|
||||
$data['oom_killer'] = !$data['oom_disabled'];
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class ServerCreationService
|
||||
*/
|
||||
public function handle(array $data, DeploymentObject $deployment = null): Server
|
||||
{
|
||||
if(!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
|
||||
if (!isset($data['oom_killer']) && isset($data['oom_disabled'])) {
|
||||
$data['oom_killer'] = !$data['oom_disabled'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user