@@ -18,19 +18,19 @@ public partial class Kubernetes
18
18
/// <inheritdoc/>
19
19
public Task < WebSocket > WebSocketNamespacedPodExecAsync ( string name , string @namespace = "default" ,
20
20
string command = null , string container = null , bool stderr = true , bool stdin = true , bool stdout = true ,
21
- bool tty = true , string webSocketSubProtol = null , Dictionary < string , List < string > > customHeaders = null ,
21
+ bool tty = true , string webSocketSubProtocol = null , Dictionary < string , List < string > > customHeaders = null ,
22
22
CancellationToken cancellationToken = default )
23
23
{
24
24
return WebSocketNamespacedPodExecAsync ( name , @namespace , new string [ ] { command } , container , stderr , stdin ,
25
- stdout , tty , webSocketSubProtol , customHeaders , cancellationToken ) ;
25
+ stdout , tty , webSocketSubProtocol , customHeaders , cancellationToken ) ;
26
26
}
27
27
28
28
/// <inheritdoc/>
29
29
public virtual async Task < IStreamDemuxer > MuxedStreamNamespacedPodExecAsync (
30
30
string name ,
31
31
string @namespace = "default" , IEnumerable < string > command = null , string container = null ,
32
32
bool stderr = true , bool stdin = true , bool stdout = true , bool tty = true ,
33
- string webSocketSubProtol = WebSocketProtocol . V4BinaryWebsocketProtocol ,
33
+ string webSocketSubProtocol = WebSocketProtocol . V4BinaryWebsocketProtocol ,
34
34
Dictionary < string , List < string > > customHeaders = null ,
35
35
CancellationToken cancellationToken = default )
36
36
{
@@ -45,7 +45,7 @@ public virtual async Task<IStreamDemuxer> MuxedStreamNamespacedPodExecAsync(
45
45
public virtual Task < WebSocket > WebSocketNamespacedPodExecAsync ( string name , string @namespace = "default" ,
46
46
IEnumerable < string > command = null , string container = null , bool stderr = true , bool stdin = true ,
47
47
bool stdout = true , bool tty = true ,
48
- string webSocketSubProtol = WebSocketProtocol . V4BinaryWebsocketProtocol ,
48
+ string webSocketSubProtocol = WebSocketProtocol . V4BinaryWebsocketProtocol ,
49
49
Dictionary < string , List < string > > customHeaders = null ,
50
50
CancellationToken cancellationToken = default )
51
51
{
@@ -114,7 +114,7 @@ public virtual Task<WebSocket> WebSocketNamespacedPodExecAsync(string name, stri
114
114
uriBuilder . Query =
115
115
query . ToString ( 1 , query . Length - 1 ) ; // UriBuilder.Query doesn't like leading '?' chars, so trim it
116
116
117
- return StreamConnectAsync ( uriBuilder . Uri , webSocketSubProtol , customHeaders ,
117
+ return StreamConnectAsync ( uriBuilder . Uri , webSocketSubProtocol , customHeaders ,
118
118
cancellationToken ) ;
119
119
}
120
120
@@ -173,7 +173,7 @@ public Task<WebSocket> WebSocketNamespacedPodPortForwardAsync(string name, strin
173
173
/// <inheritdoc/>
174
174
public Task < WebSocket > WebSocketNamespacedPodAttachAsync ( string name , string @namespace ,
175
175
string container = default , bool stderr = true , bool stdin = false , bool stdout = true ,
176
- bool tty = false , string webSocketSubProtol = null , Dictionary < string , List < string > > customHeaders = null ,
176
+ bool tty = false , string webSocketSubProtocol = null , Dictionary < string , List < string > > customHeaders = null ,
177
177
CancellationToken cancellationToken = default )
178
178
{
179
179
if ( name == null )
@@ -208,7 +208,7 @@ public Task<WebSocket> WebSocketNamespacedPodAttachAsync(string name, string @na
208
208
uriBuilder . Query =
209
209
query . ToString ( 1 , query . Length - 1 ) ; // UriBuilder.Query doesn't like leading '?' chars, so trim it
210
210
211
- return StreamConnectAsync ( uriBuilder . Uri , webSocketSubProtol , customHeaders ,
211
+ return StreamConnectAsync ( uriBuilder . Uri , webSocketSubProtocol , customHeaders ,
212
212
cancellationToken ) ;
213
213
}
214
214
0 commit comments