mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-25 10:32:31 +01:00
allow unlimited memory for server creation; closes #60
This commit is contained in:
parent
f6be06164f
commit
cad5b8c78d
@ -90,11 +90,11 @@ class ServerRepository
|
||||
'owner' => 'required|email|exists:users,email',
|
||||
'node' => 'required|numeric|min:1|exists:nodes,id',
|
||||
'name' => 'required|regex:/^([\w -]{4,35})$/',
|
||||
'memory' => 'required|numeric|min:1',
|
||||
'swap' => 'required|numeric|min:0',
|
||||
'disk' => 'required|numeric|min:1',
|
||||
'cpu' => 'required|numeric|min:0',
|
||||
'memory' => 'required|numeric|min:0',
|
||||
'swap' => 'required|numeric|min:-1',
|
||||
'io' => 'required|numeric|min:10|max:1000',
|
||||
'cpu' => 'required|numeric|min:0',
|
||||
'disk' => 'required|numeric|min:0',
|
||||
'ip' => 'required|ip',
|
||||
'port' => 'required|numeric|min:1|max:65535',
|
||||
'service' => 'required|numeric|min:1|exists:services,id',
|
||||
|
Loading…
Reference in New Issue
Block a user