mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-04 14:32:15 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2908bfcb7c |
@@ -168,7 +168,7 @@ export async function servicesFromKubernetes() {
|
|||||||
.listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes")
|
.listClusterCustomObject("traefik.containo.us", "v1alpha1", "ingressroutes")
|
||||||
.then((response) => response.body)
|
.then((response) => response.body)
|
||||||
.catch(async (error) => {
|
.catch(async (error) => {
|
||||||
if (error.statusCode !== 403) {
|
if (![403, 404].includes(error.statusCode)) {
|
||||||
logger.error(
|
logger.error(
|
||||||
"Error getting traefik ingresses from traefik.containo.us: %d %s %s",
|
"Error getting traefik ingresses from traefik.containo.us: %d %s %s",
|
||||||
error.statusCode,
|
error.statusCode,
|
||||||
@@ -184,7 +184,7 @@ export async function servicesFromKubernetes() {
|
|||||||
.listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes")
|
.listClusterCustomObject("traefik.io", "v1alpha1", "ingressroutes")
|
||||||
.then((response) => response.body)
|
.then((response) => response.body)
|
||||||
.catch(async (error) => {
|
.catch(async (error) => {
|
||||||
if (error.statusCode !== 403) {
|
if (![403, 404].includes(error.statusCode)) {
|
||||||
logger.error(
|
logger.error(
|
||||||
"Error getting traefik ingresses from traefik.io: %d %s %s",
|
"Error getting traefik ingresses from traefik.io: %d %s %s",
|
||||||
error.statusCode,
|
error.statusCode,
|
||||||
|
|||||||
Reference in New Issue
Block a user