From eafeb7ff7f62c3981ce372d79c00104048ea5592 Mon Sep 17 00:00:00 2001 From: pootzko Date: Sun, 23 Apr 2017 19:05:43 +0100 Subject: [PATCH] Removed user/pass dependency from InfluxDbClient creation (#42). --- .../Infrastructure/InfluxDbClientConfiguration.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/InfluxData.Net.InfluxDb/Infrastructure/InfluxDbClientConfiguration.cs b/InfluxData.Net.InfluxDb/Infrastructure/InfluxDbClientConfiguration.cs index 183d649..6b75a77 100644 --- a/InfluxData.Net.InfluxDb/Infrastructure/InfluxDbClientConfiguration.cs +++ b/InfluxData.Net.InfluxDb/Infrastructure/InfluxDbClientConfiguration.cs @@ -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;