remove error on no discovered services
This commit is contained in:
parent
bc7937db71
commit
ee729a7e6a
2 changed files with 3 additions and 4 deletions
|
@ -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());
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue