fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-22 15:02:29 +02:00
parent 53062e70d4
commit dae3b59e3b

View File

@ -109,10 +109,11 @@ export class DockerNetwork {
}
public async getIpForService(serviceArg: DockerService) {
public async getContainersOnNetworkForService(serviceArg: DockerService) {
const containersOnNetwork = await this.getContainersOnNetwork();
const containersOfService = containersOnNetwork.filter(container => {
return container.Name.startsWith(serviceArg.Spec.Name);
});
return containersOnNetwork;
}
}