Merge pull request #749 from benphelps/fix-docker-log-error

Fix: remove error on no discovered services
This commit is contained in:
shamoon authored and GitHub committed 2022-12-30 20:32:11 -08:00
commit f6b1304e22
2 files changed
+3 -4

No files matched your search

+3
View File
@@ -50,6 +50,9 @@ export async function servicesResponse() {
try {
discoveredServices = cleanServiceGroups(await servicesFromDocker());
if (discoveredServices?.length === 0) {
console.debug("No containers were found with homepage labels.");
}
} catch (e) {
console.error("Failed to discover services, please check docker.yaml for errors or remove example entries.");
if (e) console.error(e.toString());
-4
View File
@@ -82,10 +82,6 @@ export async function servicesFromDocker() {
})
);
if (serviceServers.every(server => server.services.length === 0)) {
throw new Error('All docker servers failed to connect or returned no containers');
}
const mappedServiceGroups = [];
serviceServers.forEach((server) => {