fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-12 14:52:55 +02:00
parent d9558f7843
commit 968b3c7449

View File

@ -142,7 +142,7 @@ export class DockerService {
const dockerData = await this.dockerHostRef.request(
'POST',
`/services/${this.ID}/update?version=${this.Version.Index + 1}`,
`/services/${this.ID}/update?version=${this.Version.Index}`,
{
Name: this.Spec.Name,
TaskTemplate: this.Spec.TaskTemplate,