ui(admin): fix oom killer setting toggle
This commit is contained in:
parent
f6cf4a1236
commit
450fba00bc
10 changed files with 18 additions and 23 deletions
|
@ -64,7 +64,7 @@ class ServerTransformer extends Transformer
|
|||
'disk' => $model->disk,
|
||||
'io' => $model->io,
|
||||
'memory' => $model->memory,
|
||||
'oom_disabled' => $model->oom_disabled,
|
||||
'oom_killer' => !$model->oom_disabled,
|
||||
'swap' => $model->swap,
|
||||
'threads' => $model->threads,
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue