Fixes telemetry config endpoint call
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
All checks were successful
Build, Push and Run Container / build (push) Successful in 25s
Removes redundant verb from the telemetry config endpoint URI, ensuring the request is correctly routed.
This commit is contained in:
@@ -397,7 +397,7 @@ app.MapGet("/Status", async ([FromServices] ILogger<Configurator> logger, [FromS
|
|||||||
string statusResponseContent = await statusResponse.Content.ReadAsStringAsync();
|
string statusResponseContent = await statusResponse.Content.ReadAsStringAsync();
|
||||||
logger.LogTrace("Fleet status response: {statusResponseContent}", statusResponseContent);
|
logger.LogTrace("Fleet status response: {statusResponseContent}", statusResponseContent);
|
||||||
|
|
||||||
HttpResponseMessage rspmsg = await client.GetAsync($"GET /api/1/vehicles/{vin}/fleet_telemetry_config");
|
HttpResponseMessage rspmsg = await client.GetAsync($"/api/1/vehicles/{vin}/fleet_telemetry_config");
|
||||||
string rsp = await rspmsg.Content.ReadAsStringAsync();
|
string rsp = await rspmsg.Content.ReadAsStringAsync();
|
||||||
logger.LogInformation("Telemetry config: {response}", rsp);
|
logger.LogInformation("Telemetry config: {response}", rsp);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user