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

@@ -18,7 +18,8 @@ namespace exec
await ExecInPod(client, pod);
}
private async static Task ExecInPod(IKubernetes client, V1Pod pod) {
private async static Task ExecInPod(IKubernetes client, V1Pod pod)
{
var webSocket = await client.WebSocketNamespacedPodExecAsync(pod.Metadata.Name, "default", "ls", pod.Spec.Containers[0].Name);
var demux = new StreamDemuxer(webSocket);