Fixed ogAgent deployImage bug. Variable partitionInfo deprecated
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
7098d4fcb1
commit
52f5f9157f
|
@ -47,8 +47,6 @@ class DeployImageAction extends AbstractController
|
||||||
throw new ValidatorException('IP is required');
|
throw new ValidatorException('IP is required');
|
||||||
}
|
}
|
||||||
|
|
||||||
$partitionInfo = json_decode($image->getPartitionInfo(), true);
|
|
||||||
|
|
||||||
$method = match ($input->method) {
|
$method = match ($input->method) {
|
||||||
DeployMethodTypes::MULTICAST_UFTP_DIRECT, DeployMethodTypes::MULTICAST_UDPCAST_DIRECT, => 'multicast-direct',
|
DeployMethodTypes::MULTICAST_UFTP_DIRECT, DeployMethodTypes::MULTICAST_UDPCAST_DIRECT, => 'multicast-direct',
|
||||||
DeployMethodTypes::MULTICAST, DeployMethodTypes::MULTICAST_UFTP, DeployMethodTypes::MULTICAST_UDPCAST => 'multicast',
|
DeployMethodTypes::MULTICAST, DeployMethodTypes::MULTICAST_UFTP, DeployMethodTypes::MULTICAST_UDPCAST => 'multicast',
|
||||||
|
|
Loading…
Reference in New Issue