Compare commits

..

2 Commits

Author SHA1 Message Date
b71f134abd 1.0.56 2019-09-12 14:52:56 +02:00
968b3c7449 fix(core): update 2019-09-12 14:52:55 +02:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@mojoio/docker", "name": "@mojoio/docker",
"version": "1.0.55", "version": "1.0.56",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@mojoio/docker", "name": "@mojoio/docker",
"version": "1.0.55", "version": "1.0.56",
"description": "easy communication with docker remote api from node, TypeScript ready", "description": "easy communication with docker remote api from node, TypeScript ready",
"private": false, "private": false,
"main": "dist/index.js", "main": "dist/index.js",

View File

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