fix(services): update service [EE-6275] (#10559)

pull/10582/head
Chaim Lev-Ari 1 year ago committed by GitHub
parent 600c8a3025
commit 948486df77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -661,7 +661,7 @@ angular.module('portainer.docker').controller('ServiceController', [
};
function forceUpdateService(service, pullImage) {
var config = ServiceHelper.serviceToConfig(service.Model);
var config = convertServiceToConfig(service.Model);
if (pullImage) {
config.TaskTemplate.ContainerSpec.Image = ImageHelper.removeDigestFromRepository(config.TaskTemplate.ContainerSpec.Image);
}

Loading…
Cancel
Save