mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
wip
This commit is contained in:
1 parent
b10ce8ea2d
commit
9c5dce925e
9 files changed
+815
-985
No files matched your search
@@ -42,9 +42,9 @@ function get_container_status(Server $server, string $container_id, bool $all_da
|
||||
return $container[0]['State']['Status'];
|
||||
}
|
||||
|
||||
function generate_container_name(string $uuid, int|null $pull_request_id = null)
|
||||
function generate_container_name(string $uuid, int $pull_request_id = 0)
|
||||
{
|
||||
if ($pull_request_id) {
|
||||
if ($pull_request_id !== 0) {
|
||||
return $uuid . '-pr-' . $pull_request_id;
|
||||
} else {
|
||||
return $uuid;
|
||||
|
||||
Reference in new issue
Block a user