From c8392804f9dacf59fc9f0c79208789282c404475 Mon Sep 17 00:00:00 2001 From: Matt Bishop Date: Wed, 11 Sep 2024 16:56:21 -0400 Subject: [PATCH] Remove explicit client version attributes (#4767) --- .../Services/Implementations/LaunchDarklyFeatureService.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Core/Services/Implementations/LaunchDarklyFeatureService.cs b/src/Core/Services/Implementations/LaunchDarklyFeatureService.cs index 2c59b90d1..26ab33841 100644 --- a/src/Core/Services/Implementations/LaunchDarklyFeatureService.cs +++ b/src/Core/Services/Implementations/LaunchDarklyFeatureService.cs @@ -19,9 +19,6 @@ public class LaunchDarklyFeatureService : IFeatureService private const string _contextKindServiceAccount = "service-account"; private const string _contextAttributeClientVersion = "client-version"; - private const string _contextAttributeClientVersionMajor = "client-version-major"; - private const string _contextAttributeClientVersionMinor = "client-version-minor"; - private const string _contextAttributeClientVersionBuild = "client-version-build"; private const string _contextAttributeDeviceType = "device-type"; private const string _contextAttributeOrganizations = "organizations"; @@ -146,9 +143,6 @@ public class LaunchDarklyFeatureService : IFeatureService if (_currentContext.ClientVersion != null) { builder.Set(_contextAttributeClientVersion, _currentContext.ClientVersion.ToString()); - builder.Set(_contextAttributeClientVersionMajor, _currentContext.ClientVersion.Major); - builder.Set(_contextAttributeClientVersionMinor, _currentContext.ClientVersion.Minor); - builder.Set(_contextAttributeClientVersionBuild, _currentContext.ClientVersion.Build); } if (_currentContext.DeviceType.HasValue)