Skip to content

Commit

Permalink
fix: update Header value to include csharp (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
poppoerika authored Apr 18, 2022
1 parent c146877 commit 438e173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Momento/ControlGrpcManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal sealed class ControlGrpcManager : IDisposable
{
private readonly GrpcChannel channel;
private readonly ScsControl.ScsControlClient client;
private readonly string version = GetAssembly(typeof(MomentoSdk.Responses.CacheGetResponse)).GetName().Version.ToString();
private readonly string version = "csharp:" + GetAssembly(typeof(MomentoSdk.Responses.CacheGetResponse)).GetName().Version.ToString();

public ControlGrpcManager(string authToken, string endpoint)
{
Expand Down
2 changes: 1 addition & 1 deletion Momento/DataGrpcManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal sealed class DataGrpcManager : IDisposable
private readonly GrpcChannel channel;
private readonly Scs.ScsClient client;

private readonly string version = GetAssembly(typeof(MomentoSdk.Responses.CacheGetResponse)).GetName().Version.ToString();
private readonly string version = "csharp:" + GetAssembly(typeof(MomentoSdk.Responses.CacheGetResponse)).GetName().Version.ToString();

internal DataGrpcManager(string authToken, string endpoint)
{
Expand Down

0 comments on commit 438e173

Please sign in to comment.