more unique container name

This commit is contained in:
Andras Bacsai 2023-09-01 16:07:46 +02:00
parent 0605772715
commit 6ceacc68cc

View File

@ -86,7 +86,7 @@ function getContainerStatus(Server $server, string $container_id, bool $all_data
function generateApplicationContainerName(string $uuid, int $pull_request_id = 0)
{
$now = now()->format('YmdHis');
$now = now()->format('Hisu');
if ($pull_request_id !== 0 && $pull_request_id !== null) {
return $uuid . '-pr-' . $pull_request_id . '-' . $now;
} else {