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
b94e6e2cf2
commit
b2f5c3802a
|
@ -45,9 +45,6 @@ class TransferIsGlobalAction extends AbstractOgRepositoryController
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @var Image $image */
|
|
||||||
$image = $imageImageRepository->getImage();
|
|
||||||
|
|
||||||
if (!$imageImageRepository->getImageFullsum()) {
|
if (!$imageImageRepository->getImageFullsum()) {
|
||||||
throw new ValidatorException('Fullsum is required');
|
throw new ValidatorException('Fullsum is required');
|
||||||
}
|
}
|
||||||
|
@ -55,7 +52,7 @@ class TransferIsGlobalAction extends AbstractOgRepositoryController
|
||||||
$params = [
|
$params = [
|
||||||
'json' => [
|
'json' => [
|
||||||
'image' => $image->getName().'.img',
|
'image' => $image->getName().'.img',
|
||||||
'repo_ip' => $image->getClient()->getRepository()->getIp(),
|
'repo_ip' => $repository->getIp(),
|
||||||
'user' => 'opengnsys',
|
'user' => 'opengnsys',
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue