Skip to content

Commit 8381124

Browse files
committed
fixed comments
1 parent 7717090 commit 8381124

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
File renamed without changes.

src/Worker/AzureManaged/DurableTaskSchedulerWorkerOptions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Azure.Identity;
77
using Grpc.Core;
88
using Grpc.Net.Client;
9-
using Grpc.Net.Client.Configuration;
9+
using Microsoft.DurableTask;
1010

1111
namespace Microsoft.DurableTask;
1212

@@ -102,6 +102,8 @@ this.Credential is not null
102102
async (context, metadata) =>
103103
{
104104
metadata.Add("taskhub", taskHubName);
105+
// Add user agent header with durabletask-dotnet and DLL version from util
106+
metadata.Add("user-agent", $"{DurableTaskUserAgentUtil.GetUserAgent()}");
105107
metadata.Add("workerid", this.WorkerId);
106108
if (cache == null)
107109
{

0 commit comments

Comments
 (0)