More logging
This commit is contained in:
parent
a27f7457aa
commit
3a617f9291
1 changed files with 4 additions and 3 deletions
|
@ -123,8 +123,9 @@ async function getStatus(entry: Service, containers: Dockerode.ContainerInfo[])
|
|||
// If container name is not missing the container is set to offline
|
||||
else if (entry.docker_container_name !== null) {
|
||||
// DEBUG
|
||||
console.log(entry.docker_container_name);
|
||||
console.log(container.Names);
|
||||
console.log(container.Names.includes("/" + entry.docker_container_name))
|
||||
console.log("/" + entry.docker_container_name);
|
||||
console.log(container.Names[0]);
|
||||
// DEBUG
|
||||
console.warn("Container for " + entry.name + " could not be found");
|
||||
entry.status = ServiceStatus.offline;
|
||||
|
|
Loading…
Reference in a new issue