Fix: correct k8s node response

This commit is contained in:
shamoon
2025-02-13 09:42:08 -08:00
parent 277fbe8051
commit 455103a9f1
4 changed files with 5 additions and 12 deletions

View File

@@ -34,7 +34,6 @@ export default async function handler(req, res) {
namespace,
labelSelector,
})
.then((response) => response.body)
.catch((err) => {
logger.error("Error getting pods: %d %s %s", err.statusCode, err.body, err.response);
return null;