mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
feat(services): add the ability to pull latest image when updating a … (#1984)
* feat(services): add the ability to pull latest image when updating a service * feat(services): update version header value * refactor(services): remove TODO * feat(services): rollback version header value to 1.29
This commit is contained in:
parent
0da9e564b9
commit
61c74e22f0
6 changed files with 65 additions and 24 deletions
|
@ -157,9 +157,16 @@ angular.module('portainer.app')
|
|||
};
|
||||
|
||||
service.confirmServiceForceUpdate = function(message, callback) {
|
||||
service.confirm({
|
||||
service.customPrompt({
|
||||
title: 'Are you sure ?',
|
||||
message: message,
|
||||
inputType: 'checkbox',
|
||||
inputOptions: [
|
||||
{
|
||||
text: 'Pull latest image version<i></i>',
|
||||
value: '1'
|
||||
}
|
||||
],
|
||||
buttons: {
|
||||
confirm: {
|
||||
label: 'Update',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue