1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

feat(image): add the ability to force remove an image (#497) (#562)

This commit is contained in:
Romain 2017-02-15 23:14:56 +01:00 committed by Anthony Lapenna
parent 6f53d1a35a
commit 64ef74321a
7 changed files with 70 additions and 7 deletions

View file

@ -18,7 +18,7 @@ angular.module('portainer.rest')
isArray: true, transformResponse: jsonObjectsToArrayHandler
},
remove: {
method: 'DELETE', params: {id: '@id'},
method: 'DELETE', params: {id: '@id', force: '@force'},
isArray: true, transformResponse: deleteImageHandler
}
});