Skip to content

Commit

Permalink
Merge pull request Azure#11331 from dingmeng-xue/telemetry
Browse files Browse the repository at this point in the history
Change useragent to align to Az3.0 modules
  • Loading branch information
erich-wang authored Mar 17, 2020
2 parents 7339307 + f21f47d commit b36b483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Accounts/Accounts/CommonModule/UserAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public UserAgent(Version moduleVersion)
/// <returns>Amended pipeline for retrieving a response</returns>
public Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken token, Action cancel, SignalDelegate signal, NextDelegate next)
{
var userAgents = new ProductInfoHeaderValue[] { new ProductInfoHeaderValue("AzurePowerShell", $"Az4.0.0-preview") };
var userAgents = new ProductInfoHeaderValue[] { new ProductInfoHeaderValue("AzurePowershell", $"Az4.0.0-preview") };
// add user agent haeaders

foreach (var userAgent in userAgents)
Expand Down

0 comments on commit b36b483

Please sign in to comment.