[breaking changes] cleanup targets (#361)
* remove target xamarin ios and android (supported by netstandard) * remove 1.4 * build warning cleared * remove bom * fix ci failed
This commit is contained in:
@@ -56,11 +56,7 @@ namespace k8s
|
||||
/// Optional. The delegating handlers to add to the http client pipeline.
|
||||
/// </param>
|
||||
public Kubernetes(KubernetesClientConfiguration config, params DelegatingHandler[] handlers)
|
||||
#if MONOANDROID8_1
|
||||
: this(new Xamarin.Android.Net.AndroidClientHandler(), handlers)
|
||||
#else
|
||||
: this(handlers)
|
||||
#endif
|
||||
{
|
||||
ValidateConfig(config);
|
||||
CaCerts = config.SslCaCerts;
|
||||
@@ -162,7 +158,7 @@ namespace k8s
|
||||
|
||||
partial void CustomInitialize()
|
||||
{
|
||||
#if NET452 || XAMARINIOS1_0 || MONOANDROID8_1
|
||||
#if NET452
|
||||
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
|
||||
#endif
|
||||
AppendDelegatingHandler<WatcherDelegatingHandler>();
|
||||
|
||||
Reference in New Issue
Block a user