Skip to content

Commit 0d181a0

Browse files
committed
caller
1 parent 5da724b commit 0d181a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Shared/AzureManaged/DurableTaskVersionUtil.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ public static class DurableTaskUserAgentUtil
2121
static readonly string PackageVersion = FileVersionInfo.GetVersionInfo(typeof(DurableTaskUserAgentUtil).Assembly.Location).FileVersion;
2222

2323
/// <summary>
24-
/// Generates the user agent string for the Durable Task SDK based on a fixed name, the package version, and the component type.
24+
/// Generates the user agent string for the Durable Task SDK based on a fixed name, the package version, and the caller type.
2525
/// </summary>
26-
/// <param name="componentType">The type of component (Client or Worker).</param>
26+
/// <param name="callerType">The type of caller (Client or Worker).</param>
2727
/// <returns>The user agent string.</returns>
28-
public static string GetUserAgent(string componentType)
28+
public static string GetUserAgent(string callerType)
2929
{
30-
return $"{SdkName}/{PackageVersion?.ToString() ?? "unknown"} ({componentType})";
30+
return $"{SdkName}/{PackageVersion?.ToString() ?? "unknown"} ({callerType})";
3131
}
3232
}

0 commit comments

Comments
 (0)