mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Update service-helpers.js
This commit is contained in:
parent
69ee459e8a
commit
c094bd3d83
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue