fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-13 22:31:03 +02:00
parent 7af8e0739b
commit 8836c06b56

View File

@ -89,7 +89,7 @@ export class DockerService {
}, },
ForceUpdate: 1 ForceUpdate: 1
}, },
Labels: serviceCreationDescriptor.labels, Labels: labels,
Networks: networkArray Networks: networkArray
}); });
@ -161,7 +161,7 @@ export class DockerService {
public async reReadFromDockerEngine() { public async reReadFromDockerEngine() {
const dockerData = await this.dockerHostRef.request('GET', `/services/${this.ID}`); const dockerData = await this.dockerHostRef.request('GET', `/services/${this.ID}`);
Object.assign(this, dockerData); // TODO: Better assign: Object.assign(this, dockerData);
} }
public async needsUpdate(): Promise<boolean> { public async needsUpdate(): Promise<boolean> {