mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(images): fix the system/df call to display unused images (#1037)
This commit is contained in:
parent
806a0b92a0
commit
a39645a297
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
angular.module('portainer.rest')
|
||||
.factory('System', ['$resource', 'DOCKER_ENDPOINT', 'EndpointProvider', function SystemFactory($resource, DOCKER_ENDPOINT, EndpointProvider) {
|
||||
'use strict';
|
||||
return $resource(DOCKER_ENDPOINT + '/:endpointId/:action', {
|
||||
return $resource(DOCKER_ENDPOINT + '/:endpointId/:action/:subAction', {
|
||||
name: '@name',
|
||||
endpointId: EndpointProvider.endpointID
|
||||
},
|
||||
|
@ -13,6 +13,6 @@ angular.module('portainer.rest')
|
|||
isArray: true, transformResponse: jsonObjectsToArrayHandler
|
||||
},
|
||||
auth: { method: 'POST', params: { action: 'auth' } },
|
||||
dataUsage: { method: 'GET', params: { action: 'system/df' } }
|
||||
dataUsage: { method: 'GET', params: { action: 'system', subAction: 'df' } }
|
||||
});
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue