mirror of https://github.com/portainer/portainer
fix(swarm): fix service updates BE-11219 (#57)
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…
Reference in New Issue