Removed Debug logging
This commit is contained in:
parent
bff352a395
commit
7daa8c9295
1 changed files with 0 additions and 7 deletions
|
@ -125,11 +125,6 @@ async function getStatus(entry: Service, containers: Dockerode.ContainerInfo[])
|
||||||
}
|
}
|
||||||
// If container name is not missing the container is set to offline
|
// If container name is not missing the container is set to offline
|
||||||
else if (entry.docker_container_name !== null) {
|
else if (entry.docker_container_name !== null) {
|
||||||
// DEBUG
|
|
||||||
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");
|
console.warn("Container for " + entry.name + " could not be found");
|
||||||
entry.status = ServiceStatus.offline;
|
entry.status = ServiceStatus.offline;
|
||||||
}
|
}
|
||||||
|
@ -191,8 +186,6 @@ function useServices() {
|
||||||
const { data: fullData, error: fullError } = useSWR((initialData && containerData) ? [containerData, initialData] : null, fetchFullDataArray)
|
const { data: fullData, error: fullError } = useSWR((initialData && containerData) ? [containerData, initialData] : null, fetchFullDataArray)
|
||||||
const loadingFull = !fullData && !fullError
|
const loadingFull = !fullData && !fullError
|
||||||
|
|
||||||
console.log(fullError) // DEBUG
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
initialData,
|
initialData,
|
||||||
fullData,
|
fullData,
|
||||||
|
|
Loading…
Reference in a new issue