mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix imports
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
b051623056
commit
ef32476d49
@ -128,8 +128,7 @@ import ClustersMixin from "@/_vue/mixins/ClustersMixin";
|
|||||||
import * as path from "path"
|
import * as path from "path"
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
import { v4 as uuidv4 } from 'uuid';
|
import { v4 as uuidv4 } from 'uuid';
|
||||||
import * as clusterStore from "../../common/cluster-store"
|
import { writeEmbeddedKubeConfig} from "../../../common/utils/kubeconfig"
|
||||||
import { writeEmbeddedKubeConfig} from "../../common/app-utils"
|
|
||||||
|
|
||||||
class ClusterAccessError extends Error {}
|
class ClusterAccessError extends Error {}
|
||||||
|
|
||||||
@ -225,8 +224,7 @@ export default {
|
|||||||
const clusterId = uuidv4();
|
const clusterId = uuidv4();
|
||||||
// We need to store the kubeconfig to "app-home"/
|
// We need to store the kubeconfig to "app-home"/
|
||||||
if (this.kubecontext === "custom") {
|
if (this.kubecontext === "custom") {
|
||||||
// TODO Call "writeEmbeddedKubeConfig"
|
this.filepath = writeEmbeddedKubeConfig(clusterId, this.clusterconfig)
|
||||||
this.filepath = clusterStore.writeEmbeddedKubeConfig(clusterId, this.clusterconfig)
|
|
||||||
}
|
}
|
||||||
const clusterInfo = {
|
const clusterInfo = {
|
||||||
id: clusterId,
|
id: clusterId,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user