Fix build

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-06-16 10:05:28 -04: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(),
}]),
);
}