Add in formatting pre-check. (#431)

This commit is contained in:
Brendan Burns
2020-04-22 12:15:45 -07:00
committed by GitHub
parent 56b7f76d6c
commit c1de779933
32 changed files with 125 additions and 81 deletions

View File

@@ -427,7 +427,7 @@ namespace k8s
process.StartInfo.Environment.Add("KUBERNETES_EXEC_INFO",
JsonConvert.SerializeObject(execInfo));
if (config.EnvironmentVariables != null)
foreach (var configEnvironmentVariableKey in config.EnvironmentVariables.Keys)
process.StartInfo.Environment.Add(key: configEnvironmentVariableKey,
@@ -474,7 +474,7 @@ namespace k8s
throw new KubeConfigException($"external exec failed due to uncaught exception: {ex}");
}
}
#endif