Skip to content

Commit

Permalink
Merge pull request #1199 from CrowleyRajapakse/master
Browse files Browse the repository at this point in the history
Adding ai provider notification event common for both flows
  • Loading branch information
CrowleyRajapakse authored Sep 27, 2024
2 parents f16092a + 36c5bfb commit 08435fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apim-apk-agent/internal/messaging/notification_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ func processNotificationEvent(conf *config.Config, notification *msg.EventNotifi
handlePolicyEvents(decodedByte, eventType, c)
}
} else if strings.Contains(eventType, aiProviderEventType) {
if AgentMode == "CPtoDP" {
handleAIProviderEvents(decodedByte, eventType, c)
}
handleAIProviderEvents(decodedByte, eventType, c)
}
// other events will ignore including HEALTH_CHECK event
return nil
Expand Down

0 comments on commit 08435fc

Please sign in to comment.