From c66074c250b35957ff6858af2233545df76fa81f Mon Sep 17 00:00:00 2001 From: atropos Date: Mon, 28 Aug 2023 18:23:00 +0100 Subject: [PATCH] Got caught by the pnpm lint, good job --- src/utils/config/service-helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/config/service-helpers.js b/src/utils/config/service-helpers.js index b7ebddaa..d9a8e135 100644 --- a/src/utils/config/service-helpers.js +++ b/src/utils/config/service-helpers.js @@ -161,7 +161,7 @@ export async function servicesFromKubernetes() { const traefikIngressListContaino = await crd.listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes") .then((response) => response.body) .catch(async (error) => { - if (error.statusCode != 404) { + if (error.statusCode !== 404) { logger.error("Error getting traefik ingresses from traefik.containo.us: %d %s %s", error.statusCode, error.body, error.response); } @@ -171,7 +171,7 @@ export async function servicesFromKubernetes() { const traefikIngressListIo = await crd.listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes") .then((response) => response.body) .catch(async (error) => { - if (error.statusCode != 404) { + if (error.statusCode !== 404) { logger.error("Error getting traefik ingresses from traefik.io: %d %s %s", error.statusCode, error.body, error.response); } return null; });