fix(swarm): fix service updates BE-11219 (#57)

pull/6081/merge
andres-portainer 1 month ago committed by GitHub
parent 3114d4b5c5
commit cc75167437

@ -56,11 +56,12 @@ function ServiceServiceFactory(AngularToReact) {
* @param {string?} rollback
*/
async function updateServiceAngularJS(environmentId, service, config, rollback) {
const data = await getServiceAngularJS(environmentId, service.Id);
return updateService({
environmentId,
config,
serviceId: service.Id,
version: service.Version,
version: data.Version,
registryId: config.registryId,
rollback,
});

Loading…
Cancel
Save