diff --git a/src/utils/config/service-helpers.js b/src/utils/config/service-helpers.js index 619c0cb21..a2b66c621 100644 --- a/src/utils/config/service-helpers.js +++ b/src/utils/config/service-helpers.js @@ -189,7 +189,7 @@ export async function servicesFromKubernetes() { const traefikIngressListContaino = await crd .listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes") - .then((response) => response.body ?? []) + .then((response) => response.body) .catch(async (error) => { if (traefikContainoExists) { logger.error( @@ -205,7 +205,7 @@ export async function servicesFromKubernetes() { const traefikIngressListIo = await crd .listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes") - .then((response) => response.body ?? []) + .then((response) => response.body) .catch(async (error) => { if (traefikExists) { logger.error(