Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-11-18 14:54:29 +02:00
1 parent 5b0efe2c86
commit 93bc8fcb86
6 files changed
+22 -11

No files matched your search

+2 -1
View File
@@ -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)
}
}