Skip to content

Commit

Permalink
Set backend health to isActive() when it's modified on UI
Browse files Browse the repository at this point in the history
  • Loading branch information
andythsu authored and ebyhr committed May 21, 2024
1 parent c052bb2 commit c00dc26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Response updateEntity(
OBJECT_MAPPER.readValue(jsonPayload, ProxyBackendConfiguration.class);
gatewayBackendManager.updateBackend(backend);
log.info("Setting up the backend %s with healthy state", backend.getName());
routingManager.updateBackEndHealth(backend.getName(), true);
routingManager.updateBackEndHealth(backend.getName(), backend.isActive());
break;
case RESOURCE_GROUP:
ResourceGroupsDetail resourceGroupDetails = OBJECT_MAPPER.readValue(jsonPayload,
Expand Down

0 comments on commit c00dc26

Please sign in to comment.