diff --git a/src/Momento.Sdk/Internal/ScsDataClient.cs b/src/Momento.Sdk/Internal/ScsDataClient.cs index f9a53a76..82cb2bac 100644 --- a/src/Momento.Sdk/Internal/ScsDataClient.cs +++ b/src/Momento.Sdk/Internal/ScsDataClient.cs @@ -47,9 +47,9 @@ protected Metadata MetadataWithCache(string cacheName) return new Metadata() { { "cache", cacheName } }; } this.hasSentOnetimeHeaders = true; - string version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); + string sdkVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); string runtimeVer = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription; - return new Metadata() { { "cache", cacheName }, { "Agent", $"dotnet:{version}" }, { "Runtime-Version", runtimeVer } }; + return new Metadata() { { "cache", cacheName }, { "Agent", $"dotnet:{sdkVersion}" }, { "Runtime-Version", runtimeVer } }; } protected DateTime CalculateDeadline() { diff --git a/src/Momento.Sdk/Internal/ScsTopicClient.cs b/src/Momento.Sdk/Internal/ScsTopicClient.cs index 5fa92b2d..befce00d 100644 --- a/src/Momento.Sdk/Internal/ScsTopicClient.cs +++ b/src/Momento.Sdk/Internal/ScsTopicClient.cs @@ -39,7 +39,6 @@ protected Metadata MetadataWithCache(string cacheName) this.hasSentOnetimeHeaders = true; string sdkVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); string runtimeVer = System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription; - Console.WriteLine($"cache: {cacheName}, agent:{sdkVersion}, runtime-version:{runtimeVer}"); return new Metadata() { { "cache", cacheName }, { "Agent", $"dotnet:{sdkVersion}" }, { "Runtime-Version", runtimeVer } }; }