refs #1516. Changed form and global import
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
947817daae
commit
e9b982ffe4
|
@ -48,7 +48,7 @@ class TransferIsGlobalAction extends AbstractOgRepositoryController
|
|||
$params = [
|
||||
'json' => [
|
||||
'image' => $image->getName().'.img',
|
||||
'repo_ip' => $repository->getIp(),
|
||||
'repo_ip' => $image->getClient()->getRepository()->getIp(),
|
||||
'user' => 'opengnsys',
|
||||
]
|
||||
];
|
||||
|
@ -64,12 +64,13 @@ class TransferIsGlobalAction extends AbstractOgRepositoryController
|
|||
$inputData = [
|
||||
'imageName' => $image->getName(),
|
||||
'imageUuid' => $image->getUuid(),
|
||||
//'imageImageRepositoryUuid' => $imageImageRepository?->getUuid(),
|
||||
'repositoryUuid' => $repository->getUuid(),
|
||||
];
|
||||
|
||||
$this->createService->__invoke($image->getClient(), CommandTypes::TRANSFER_IMAGE, TraceStatus::IN_PROGRESS, $content['job_id'], $inputData);
|
||||
|
||||
$imageImageRepository->setStatus(ImageStatus::TRANSFERRING);
|
||||
//$imageImageRepository->setStatus(ImageStatus::TRANSFERRING);
|
||||
$this->entityManager->persist($image);
|
||||
$this->entityManager->flush();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue