mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-12 03:13:45 +02:00
Allow swap to be assigned as -1
This commit is contained in:
@@ -398,7 +398,7 @@ class ServerRepository
|
||||
'add_additional' => 'array',
|
||||
'remove_additional' => 'array',
|
||||
'memory' => 'integer|min:0',
|
||||
'swap' => 'integer|min:0',
|
||||
'swap' => 'integer|min:-1',
|
||||
'io' => 'integer|min:10|max:1000',
|
||||
'cpu' => 'integer|min:0',
|
||||
'disk' => 'integer|min:0'
|
||||
|
||||
Reference in New Issue
Block a user