Add in formatting pre-check. (#431)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user