Skip to content

Commit cdff3ef

Browse files
fix(fennec): fix wrong order of method parameters and endpoint name
1 parent d616242 commit cdff3ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Astrapia/services/metricService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class MetricService {
8484
}
8585

8686
public async getApplicationStatusData() {
87-
return await ApiService.get<SelfTestData>('/api/metrics/ApplicationStatus')
87+
return await ApiService.get<SelfTestData>('/api/metrics/applicationStatus')
8888
.then(x => x.data);
8989
}
9090
}

Packrat/Fennec/Controllers/MetricController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public async Task<IActionResult> GetFlowGeneral()
5757
return Ok(data);
5858
}
5959

60-
[HttpGet("ApplicationStatus")]
60+
[HttpGet("applicationStatus")]
6161
public async Task<IActionResult> GetApplicationStatus()
6262
{
6363
var data = _applicationStatus.GetLatestStatus();

Packrat/Fennec/Metrics/FlowImporterMetric.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public FlowImporterMetric(IMetricService metricService, IOptions<FlowImporterMet
5454
_logger = logger;
5555
}
5656

57-
public void AddFlowImport(bool parsed, IPEndPoint endPoint, int receivedByteCount, long transmittedPackets, long transmittedBytes)
57+
public void AddFlowImport(bool parsed, IPEndPoint endPoint, int receivedByteCount, long transmittedBytes, long transmittedPackets)
5858
{
5959
if (_tempFlowImports.ContainsKey(endPoint))
6060
{

0 commit comments

Comments
 (0)