File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2
2
global using System . Collections . Generic ;
3
3
global using System . Linq ;
4
4
global using System . Text . Json ;
5
+ global using System . Text . Json . Serialization ;
Original file line number Diff line number Diff line change 9
9
<PackageReference Include =" Portable.BouncyCastle" Version =" 1.9.0" />
10
10
<PackageReference Include =" System.IdentityModel.Tokens.Jwt" Version =" 6.25.1" />
11
11
<PackageReference Include =" IdentityModel.OidcClient" Version =" 5.2.1" />
12
+ <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 7.0.0" />
12
13
</ItemGroup >
13
14
14
15
<ItemGroup >
42
43
<Compile Include =" ..\KubernetesClient\IKubernetes.Exec.cs" />
43
44
<Compile Include =" ..\KubernetesClient\Kubernetes.Exec.cs" />
44
45
46
+ <Compile Include =" ..\KubernetesClient\Watcher.cs" />
47
+ <Compile Include =" ..\KubernetesClient\WatcherExt.cs" />
48
+ <Compile Include =" ..\KubernetesClient\LineSeparatedHttpContent.cs" />
49
+
45
50
<Compile Include =" ..\KubernetesClient\Exceptions\KubeConfigException.cs" />
46
51
<Compile Include =" ..\KubernetesClient\Exceptions\KubernetesClientException.cs" />
47
52
Original file line number Diff line number Diff line change @@ -76,11 +76,7 @@ protected override async Task<HttpOperationResponse<T>> CreateResultAsync<T>(Htt
76
76
77
77
if ( watch == true )
78
78
{
79
- #if NETSTANDARD2_0 || NET48
80
- throw new KubernetesException ( "watch not supported" ) ;
81
- #else
82
79
httpResponse . Content = new LineSeparatedHttpContent ( httpResponse . Content , cancellationToken ) ;
83
- #endif
84
80
}
85
81
86
82
try
You can’t perform that action at this time.
0 commit comments