mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 06:33:28 +00:00
contains__image
Change-type: patch
This commit is contained in:
parent
0f53ab3b4e
commit
7dad523934
@ -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 } =
|
||||||
|
Loading…
Reference in New Issue
Block a user