mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
Fix styling
This commit is contained in:
committed by
github-actions[bot]
parent
f4d64e121c
commit
f22d7741a3
@@ -2029,9 +2029,10 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param integer $timeout in seconds
|
* @param int $timeout in seconds
|
||||||
*/
|
*/
|
||||||
private function graceful_shutdown_container(string $containerName, int $timeout = 300) {
|
private function graceful_shutdown_container(string $containerName, int $timeout = 300)
|
||||||
|
{
|
||||||
try {
|
try {
|
||||||
return $this->execute_remote_command(
|
return $this->execute_remote_command(
|
||||||
["docker stop --time=$timeout $containerName > /dev/null 2>&1", 'hidden' => true],
|
["docker stop --time=$timeout $containerName > /dev/null 2>&1", 'hidden' => true],
|
||||||
|
|||||||
Reference in New Issue
Block a user