Skip to content

Commit

Permalink
[apm] Return 200 instead of 404 when agent configuration does not exist.
Browse files Browse the repository at this point in the history
fixes #113272
  • Loading branch information
simitt committed Sep 28, 2021
1 parent 62e7dee commit 63a2997
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 63a2997

Please sign in to comment.