Skip to content

Commit

Permalink
Removed unused channel .. maybe later
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKert committed Mar 30, 2019
1 parent 01d54f8 commit d43a806
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/BuildVision.Common/Diagnostics/SessionTelemetry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ class SessionTelemetry : ITelemetryInitializer
private readonly string _operatingSystem = RuntimeInformation.OSDescription?.Replace("Microsoft ", ""); // Shorter description
private readonly string _session = Guid.NewGuid().ToString();

#if STORE
private const string Channel = "store";
#elif NIGHTLY
private const string Channel = "nightly";
#elif CHOCO
private const string Channel = "chocolatey";
#else
private const string Channel = "zip";
#endif


public SessionTelemetry()
{
try
Expand All @@ -43,7 +32,7 @@ public SessionTelemetry()

public void Initialize(ITelemetry telemetry)
{
telemetry.Context.GlobalProperties["Environment"] = Channel;
telemetry.Context.GlobalProperties["Environment"] = "release";
// Always default to development if we're in the debugger
if (Debugger.IsAttached)
{
Expand Down

0 comments on commit d43a806

Please sign in to comment.