mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 23:39:41 +02:00
feat(images): use containers instead of /system/df to check unused images (#1150)
This commit is contained in:
parent
a6ef27164c
commit
8c68e92e74
6 changed files with 19 additions and 13 deletions
|
@ -3,7 +3,7 @@ angular.module('portainer.services')
|
|||
'use strict';
|
||||
var service = {};
|
||||
|
||||
service.getContainers = function (all) {
|
||||
service.containers = function(all) {
|
||||
var deferred = $q.defer();
|
||||
Container.query({ all: all }).$promise
|
||||
.then(function success(data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue