From 26ea3f4a8095f0912dbc303952bc665242e0bc2f Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 17 Aug 2022 10:52:03 -0400 Subject: [PATCH] Fix breaking change on KubeApi.list Signed-off-by: Sebastian Malton --- src/common/k8s-api/kube-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/k8s-api/kube-api.ts b/src/common/k8s-api/kube-api.ts index d1e2a2c7ca..d1b65e4af0 100644 --- a/src/common/k8s-api/kube-api.ts +++ b/src/common/k8s-api/kube-api.ts @@ -481,7 +481,7 @@ export class KubeApi< }); } - async list({ namespace, reqInit }: KubeApiListOptions = {}, query?: KubeApiQueryParams): Promise { + async list({ namespace = "", reqInit }: KubeApiListOptions = {}, query?: KubeApiQueryParams): Promise { await this.checkPreferredVersion(); const url = this.getUrl({ namespace });