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 Jan 4, 2024
1 parent a41bbca commit 12c65ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,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 12c65ed

Please sign in to comment.