mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
backport: fix ApiManager.getApiByKind
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
686b368ef5
commit
7c0fa3e69a
1 file changed
+1
-1
@@ -18,7 +18,7 @@ export class ApiManager {
|
||||
}
|
||||
|
||||
getApiByKind(kind: string, apiVersion: string) {
|
||||
return Array.from(this.apis.values()).find((api) => api.kind === kind && api.apiVersion === apiVersion);
|
||||
return Array.from(this.apis.values()).find((api) => api.kind === kind && api.apiVersionWithGroup === apiVersion);
|
||||
}
|
||||
|
||||
registerApi(apiBase: string, api: KubeApi) {
|
||||
|
||||
Reference in new issue
Block a user