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

feat(container-details): add the ability to update restart policy

This commit is contained in:
Chaim Lev-Ari 2018-08-16 10:31:00 +01:00 committed by Anthony Lapenna
parent de9f99d030
commit 8769fadd5c
7 changed files with 130 additions and 13 deletions

View file

@ -65,6 +65,9 @@ function ContainerFactory($resource, API_ENDPOINT_ENDPOINTS, EndpointProvider) {
},
inspect: {
method: 'GET', params: { id: '@id', action: 'json' }
},
update: {
method: 'POST', params: { id: '@id', action: 'update'}
}
});
}]);