Fix: correct k8s node response

This commit is contained in:
shamoon 2025-02-13 09:42:08 -08:00
parent 277fbe8051
commit 455103a9f1
No known key found for this signature in database
4 changed files with 5 additions and 12 deletions

View file

@ -21,7 +21,6 @@ export default async function listTraefikIngress() {
version: "v1alpha1",
plural: "ingressroutes",
})
.then((response) => response)
.catch(async (error) => {
if (traefikContainoExists) {
logger.error(
@ -42,7 +41,6 @@ export default async function listTraefikIngress() {
version: "v1alpha1",
plural: "ingressroutes",
})
.then((response) => response.body)
.catch(async (error) => {
if (traefikExists) {
logger.error(