diff --git a/src/KubernetesClient/Kubernetes.WebSocket.cs b/src/KubernetesClient/Kubernetes.WebSocket.cs index 9d336d5e..5da20c8c 100644 --- a/src/KubernetesClient/Kubernetes.WebSocket.cs +++ b/src/KubernetesClient/Kubernetes.WebSocket.cs @@ -62,11 +62,6 @@ public partial class Kubernetes throw new ArgumentOutOfRangeException(nameof(command)); } - if (command == null) - { - throw new ArgumentNullException(nameof(command)); - } - var commandArray = command.ToArray(); foreach (var c in commandArray) {