Fixed ogBoot postAction controller
testing/ogcore-api/pipeline/head This commit looks good Details

pull/20/head
Manuel Aranda Rosales 2025-01-28 15:03:21 +01:00
parent b4d3ff5e89
commit 34c8fe2d1a
1 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,10 @@ class DeployImageAction extends AbstractController
default => throw new ValidatorException('Invalid method'),
};
$ptcMulticastValue = "$method $input->mcastPort:$input->mcastMode.'-duplex'.:$input->mcastIp:$input->mcastSpeed.'M'.:$input->maxClients:$input->maxTime";
$mcastMode = $input->mcastMode.'-duplex';
$mcastSpeed = $input->mcastSpeed.'M';
$ptcMulticastValue = "$method $input->mcastPort:$mcastMode:$input->mcastIp:$mcastSpeed:$input->maxClients:$input->maxTime";
$ptcTorrentValue = "$method $input->p2pMode:$input->p2pTime";
$ptcUnicastValue = $method;