Skip to content

Commit

Permalink
Removed user/pass dependency from InfluxDbClient creation (#42).
Browse files Browse the repository at this point in the history
  • Loading branch information
tihomir-kit committed Apr 23, 2017
1 parent f6f8d85 commit eafeb7f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public class InfluxDbClientConfiguration : IInfluxDbClientConfiguration
public InfluxDbClientConfiguration(Uri endpointUri, string username, string password, InfluxDbVersion influxVersion, HttpClient httpClient = null, bool throwOnWarning = false)
{
Validate.IsNotNull(endpointUri, "Endpoint may not be null or empty.");
Validate.IsNotNullOrEmpty(password, "Password may not be null or empty.");
Validate.IsNotNullOrEmpty(username, "Username may not be null or empty.");

EndpointUri = SanitizeEndpoint(endpointUri, false);
Username = username;
Expand Down

0 comments on commit eafeb7f

Please sign in to comment.