Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Commit

Permalink
Reverse runtime check for Mono
Browse files Browse the repository at this point in the history
  • Loading branch information
highlyunavailable committed May 30, 2016
1 parent b0881f0 commit 05e899b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Consul/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class ConsulClientConfiguration

internal event EventHandler Updated;

internal static Lazy<bool> _clientCertSupport = new Lazy<bool>(() => { return Type.GetType("Mono.Runtime") != null; });
internal static Lazy<bool> _clientCertSupport = new Lazy<bool>(() => { return Type.GetType("Mono.Runtime") == null; });

internal bool ClientCertificateSupported { get { return _clientCertSupport.Value; } }

Expand Down

0 comments on commit 05e899b

Please sign in to comment.