mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
41be896e8b
commit
bb032e6604
1 file changed
+2
-2
@@ -39,9 +39,9 @@ interface Dependencies {
|
||||
function getContexts(config: KubeConfig): Map<string, Option> {
|
||||
return new Map(
|
||||
splitConfig(config)
|
||||
.map(({ config, error }) => [config.currentContext, {
|
||||
.map(({ config, validationResult }) => [config.currentContext, {
|
||||
config,
|
||||
error: error?.toString(),
|
||||
error: validationResult.error?.toString(),
|
||||
}]),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user