Skip to content

Commit eb68847

Browse files
committed
Remove unused imports for header
Signed-off-by: Denis Golovin [email protected]
1 parent e2e5b92 commit eb68847

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/kubeUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import * as fs from 'fs';
77
import * as path from 'path';
8-
import { commands, QuickPickItem, window } from 'vscode';
8+
import { QuickPickItem } from 'vscode';
99
import { KubeConfig, findHomeDir, loadYaml } from '@kubernetes/client-node';
1010
import { User, Cluster } from '@kubernetes/client-node/dist/config_types';
1111

@@ -25,7 +25,7 @@ export class KubeConfigUtils extends KubeConfig {
2525
try {
2626
this.loadFromDefault();
2727
} catch (error) {
28-
throw new Error('Kubernetes configuration file cannot be parsed. Please open it in editor and fix the errors to continue.');
28+
throw new Error('Kubernetes configuration cannot be loaded. Please check configuration files for errors and fix them to continue.');
2929
}
3030
// k8s nodejs-client ignores all unknown properties,
3131
// so cluster object's proxy-url attribute is not present

0 commit comments

Comments
 (0)