Skip to content

Commit

Permalink
correcting the order of constants
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetg1983 committed Jun 9, 2021
1 parent 76caa1a commit 391b350
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Kudu.Services/Diagnostics/LinuxProcessController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ namespace Kudu.Services.Performance

public class LinuxProcessController : Controller
{
const string DotnetMonitorPort = "50051";
const string AcceptEncodingHeader = "Accept-Encoding";
private const string DotnetMonitorPort = "50051";
private const string AcceptEncodingHeader = "Accept-Encoding";
private const string ERRORMSG = "Not supported on Linux";
private const string DOTNETMONITORNOTCONFIGURED = "The dotnet-monitor tool is not configured to run";

private readonly HttpProxyOptions _options;

Expand All @@ -45,9 +47,6 @@ public LinuxProcessController()
.Build();
}

private const string ERRORMSG = "Not supported on Linux";
private const string DOTNETMONITORNOTCONFIGURED = "The dotnet-monitor tool is not configured to run";

[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", Justification = "Parameters preserved for equivalent route binding")]
[HttpGet]
public IActionResult GetThread(int processId, int threadId)
Expand Down

0 comments on commit 391b350

Please sign in to comment.