Skip to content

Commit

Permalink
Update app/http.php
Browse files Browse the repository at this point in the history
Co-authored-by: Matej Bačo <[email protected]>
  • Loading branch information
PineappleIOnic and Meldiron authored Aug 6, 2024
1 parent dc1e59b commit 3d1ffb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function removeAllRuntimes(Table $activeRuntimes, Orchestration $orchestration):
->param('command', '', new Text(1024), 'Commands to run after container is created. Maximum of 100 commands are allowed, each 1024 characters long.', true)
->param('timeout', 600, new Integer(), 'Commands execution time in seconds.', true)
->param('remove', false, new Boolean(), 'Remove a runtime after execution.', true)
->param('cpus', 1, new FloatValidator(), 'Container CPU.', true)
->param('cpus', 1, new FloatValidator(true), 'Container CPU.', true)
->param('memory', 512, new Integer(), 'Comtainer RAM memory.', true)
->param('version', 'v4', new WhiteList(['v2', 'v4']), 'Runtime Open Runtime version.', true)
->param('restartPolicy', DockerAPI::RESTART_NO, new WhiteList([DockerAPI::RESTART_NO, DockerAPI::RESTART_ALWAYS, DockerAPI::RESTART_ON_FAILURE, DockerAPI::RESTART_UNLESS_STOPPED], true), 'Define restart policy for the runtime once an exit code is returned. Default value is "no". Possible values are "no", "always", "on-failure", "unless-stopped".', true)
Expand Down

0 comments on commit 3d1ffb2

Please sign in to comment.