mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
run pint
This commit is contained in:
parent
399bed7576
commit
b813de0467
@ -40,7 +40,7 @@ class BuildModificationService
|
|||||||
throw_unless($existingAllocation, new DisplayException('The requested default allocation is not currently assigned to this server.'));
|
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'];
|
$data['oom_killer'] = !$data['oom_disabled'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ class ServerCreationService
|
|||||||
*/
|
*/
|
||||||
public function handle(array $data, DeploymentObject $deployment = null): Server
|
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'];
|
$data['oom_killer'] = !$data['oom_disabled'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user