mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
5b0efe2c86
commit
93bc8fcb86
6 files changed
+22
-11
No files matched your search
@@ -7,6 +7,7 @@ import { Cluster } from "../main/cluster";
|
||||
import logger from "../main/logger";
|
||||
import { app } from "electron"
|
||||
import { requestMain } from "../common/ipc";
|
||||
import { clusterKubectlApplyAllHandler } from "../common/cluster-ipc";
|
||||
|
||||
export interface ClusterFeatureStatus {
|
||||
currentVersion: string;
|
||||
@@ -39,7 +40,7 @@ export abstract class ClusterFeature {
|
||||
if (app) {
|
||||
await new ResourceApplier(cluster).kubectlApplyAll(resources)
|
||||
} else {
|
||||
await requestMain("cluster:kubectl-apply-all", cluster.id, resources)
|
||||
await requestMain(clusterKubectlApplyAllHandler, cluster.id, resources)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user