Skip to content

Commit

Permalink
[apm] Return 200 instead of 404 when agent configuration does not exi…
Browse files Browse the repository at this point in the history
…st. (#113273)

fixes #113272
  • Loading branch information
simitt authored Sep 29, 2021
1 parent 04497da commit 2ce47f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const agentConfigurationSearchRoute = createApmServerRoute({
logger.debug(
`[Central configuration] Config was not found for ${service.name}/${service.environment}`
);
throw Boom.notFound();
return null;
}

// whether to update `applied_by_agent` field
Expand Down

0 comments on commit 2ce47f8

Please sign in to comment.