Compare commits

..

2 Commits

Author SHA1 Message Date
87ff0f01bb 1.0.59 2019-09-13 14:45:35 +02:00
dd1939d7b2 fix(core): update 2019-09-13 14:45:35 +02:00
4 changed files with 8 additions and 3 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "@mojoio/docker", "name": "@mojoio/docker",
"version": "1.0.58", "version": "1.0.59",
"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.58", "version": "1.0.59",
"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

@@ -132,4 +132,9 @@ export class DockerImage {
// TODO: Compare image digists before and after // TODO: Compare image digists before and after
return true; return true;
} }
// get stuff
public async getVersion() {
return this.Labels.version;
}
} }

View File

@@ -77,7 +77,7 @@ export class DockerSecret {
// get things // get things
public getVersion() { public async getVersion() {
return this.Spec.Labels.version; return this.Spec.Labels.version;
} }
} }