fix(core): update
This commit is contained in:
parent
7af8e0739b
commit
8836c06b56
@ -89,7 +89,7 @@ export class DockerService {
|
||||
},
|
||||
ForceUpdate: 1
|
||||
},
|
||||
Labels: serviceCreationDescriptor.labels,
|
||||
Labels: labels,
|
||||
Networks: networkArray
|
||||
});
|
||||
|
||||
@ -161,7 +161,7 @@ export class DockerService {
|
||||
|
||||
public async reReadFromDockerEngine() {
|
||||
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> {
|
||||
|
Loading…
Reference in New Issue
Block a user