fix(core): update
This commit is contained in:
parent
53062e70d4
commit
dae3b59e3b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user