Skip to content

Commit 6a86d8a

Browse files
authored
Update constant field names
1 parent b7a339e commit 6a86d8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Common/Commands.Common/MetricHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public class MetricHelper
3232
{
3333
protected INetworkHelper _networkHelper;
3434
private const int FlushTimeoutInMilli = 5000;
35-
private const string DEFAULT_PSVERSION = "3.0.0.0";
36-
private const string EVENT_NAME = "cmdletInvocation";
35+
private const string DefaultPSVersion = "3.0.0.0";
36+
private const string EventName = "cmdletInvocation";
3737

3838
/// <summary>
3939
/// The collection of telemetry clients.
@@ -73,7 +73,7 @@ protected string PSVersion
7373
}
7474
else
7575
{
76-
_psVersion = DEFAULT_PSVERSION;
76+
_psVersion = DefaultPSVersion;
7777
}
7878
return _psVersion;
7979
}
@@ -191,7 +191,7 @@ private void LogUsageEvent(AzurePSQoSEvent qos)
191191
{
192192
var pageViewTelemetry = new PageViewTelemetry
193193
{
194-
Name = EVENT_NAME,
194+
Name = EventName,
195195
Duration = qos.Duration,
196196
Timestamp = qos.StartTime
197197
};

0 commit comments

Comments
 (0)