Allow swap to be assigned as -1
This commit is contained in:
parent
7013d10987
commit
938df4023d
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue