From 5c040f5357aec3dc8f84d54edaa7208f6e2bef89 Mon Sep 17 00:00:00 2001 From: Tharsanan1 Date: Tue, 1 Oct 2024 09:58:57 +0530 Subject: [PATCH] Update rl config in subscription update event --- common-controller/internal/controlplane/controlplane_client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common-controller/internal/controlplane/controlplane_client.go b/common-controller/internal/controlplane/controlplane_client.go index 174c10ad5..53e036020 100644 --- a/common-controller/internal/controlplane/controlplane_client.go +++ b/common-controller/internal/controlplane/controlplane_client.go @@ -223,6 +223,7 @@ func (controlPlaneGrpcClient *Agent) handleEvents(event *subscription.Event) { Organization: event.Subscription.Organization, SubStatus: event.Subscription.SubStatus, SubscribedAPI: &server.SubscribedAPI{Name: event.Subscription.SubscribedApi.Name, Version: event.Subscription.SubscribedApi.Version}, + RatelimitTier: event.Subscription.RatelimitTier, } loggers.LoggerAPKOperator.Infof("Received Subscription %s", subscription.UUID) controlPlaneGrpcClient.artifactDeployer.UpdateSubscription(subscription)