Skip to content

Commit

Permalink
Add gateway label fliter when handling deploy API
Browse files Browse the repository at this point in the history
  • Loading branch information
SavinduDimal committed Feb 1, 2024
1 parent 7cde9e3 commit fb23275
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public boolean deployAPI(DeployAPIInGatewayEvent gatewayEvent) throws ArtifactSy

String apiId = gatewayEvent.getUuid();
Set<String> gatewayLabels = gatewayEvent.getGatewayLabels();
gatewayLabels.retainAll(gatewayArtifactSynchronizerProperties.getGatewayLabels());
try {
GatewayAPIDTO gatewayAPIDTO = retrieveArtifact(apiId, gatewayLabels);
if (gatewayAPIDTO != null) {
Expand Down

0 comments on commit fb23275

Please sign in to comment.