From ef32476d491370ad8fafd2ae8588815ef0a20356 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Thu, 2 Jul 2020 11:13:43 +0300 Subject: [PATCH] fix imports Signed-off-by: Jari Kolehmainen --- src/renderer/_vue/components/AddClusterPage.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/renderer/_vue/components/AddClusterPage.vue b/src/renderer/_vue/components/AddClusterPage.vue index fb662e9695..510521b711 100644 --- a/src/renderer/_vue/components/AddClusterPage.vue +++ b/src/renderer/_vue/components/AddClusterPage.vue @@ -128,8 +128,7 @@ import ClustersMixin from "@/_vue/mixins/ClustersMixin"; import * as path from "path" import fs from 'fs' import { v4 as uuidv4 } from 'uuid'; -import * as clusterStore from "../../common/cluster-store" -import { writeEmbeddedKubeConfig} from "../../common/app-utils" +import { writeEmbeddedKubeConfig} from "../../../common/utils/kubeconfig" class ClusterAccessError extends Error {} @@ -225,8 +224,7 @@ export default { const clusterId = uuidv4(); // We need to store the kubeconfig to "app-home"/ if (this.kubecontext === "custom") { - // TODO Call "writeEmbeddedKubeConfig" - this.filepath = clusterStore.writeEmbeddedKubeConfig(clusterId, this.clusterconfig) + this.filepath = writeEmbeddedKubeConfig(clusterId, this.clusterconfig) } const clusterInfo = { id: clusterId,