mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 18:59:41 +02:00
fix(docker/images): export image [EE-6807] (#11305)
This commit is contained in:
parent
ec913b45d6
commit
2c3dcdd14e
3 changed files with 7 additions and 2 deletions
|
@ -171,6 +171,11 @@ angular.module('portainer.docker').factory('ImageService', [
|
|||
return Image.tag({ id: id, repo: image }).$promise;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {Array<{tags: Array<string>; id: string;}>} images
|
||||
* @returns {Promise<unknown>}
|
||||
*/
|
||||
service.downloadImages = function (images) {
|
||||
var names = ImageHelper.getImagesNamesForDownload(images);
|
||||
return Image.download(names).$promise;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue