contains__image

Change-type: patch
This commit is contained in:
myarmolinsky 2024-12-03 08:29:07 -05:00
parent 0f53ab3b4e
commit 7dad523934

View File

@ -240,7 +240,7 @@ export const getPreviousRepos = (
status: 'success', status: 'success',
}, },
$expand: { $expand: {
contains__image: { release_image: {
$select: 'image', $select: 'image',
$expand: { image: { $select: 'is_stored_at__image_location' } }, $expand: { image: { $select: 'is_stored_at__image_location' } },
}, },
@ -252,7 +252,7 @@ export const getPreviousRepos = (
.then(function (release) { .then(function (release) {
// grab all images from the latest release, return all image locations in the registry // grab all images from the latest release, return all image locations in the registry
if (release.length > 0) { if (release.length > 0) {
const images = release[0].contains__image as Array<{ const images = release[0].release_image as Array<{
image: [SDK.Image]; image: [SDK.Image];
}>; }>;
const { getRegistryAndName } = const { getRegistryAndName } =