From 948486df776a913d395c3cc2bc1196d8cbe07f9f Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Wed, 1 Nov 2023 12:27:38 +0200 Subject: [PATCH] fix(services): update service [EE-6275] (#10559) --- app/docker/views/services/edit/serviceController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/docker/views/services/edit/serviceController.js b/app/docker/views/services/edit/serviceController.js index ad826a8bc..9ce96ba85 100644 --- a/app/docker/views/services/edit/serviceController.js +++ b/app/docker/views/services/edit/serviceController.js @@ -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); }