Fix unused reactive publisher (#16732)

This commit is contained in:
Shrikant Sharat Kandula 2022-09-13 18:08:35 +05:30 committed by GitHub
parent 82fad42e73
commit 89620d3cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1019,8 +1019,8 @@ public class NewActionServiceCEImpl extends BaseService<NewActionRepository, New
// This is to have consistency in how the AnalyticsService is being called. // This is to have consistency in how the AnalyticsService is being called.
// Even though sendObjectEvent is triggered, AnalyticsService would still reject this and prevent the event // Even though sendObjectEvent is triggered, AnalyticsService would still reject this and prevent the event
// from being sent to analytics provider if telemetry is disabled. // from being sent to analytics provider if telemetry is disabled.
analyticsService.sendObjectEvent(AnalyticsEvents.EXECUTE_ACTION, action); return analyticsService.sendObjectEvent(AnalyticsEvents.EXECUTE_ACTION, action)
return Mono.empty(); .then(Mono.empty());
} }
ActionExecutionRequest actionExecutionRequest = actionExecutionResult.getRequest(); ActionExecutionRequest actionExecutionRequest = actionExecutionResult.getRequest();
ActionExecutionRequest request; ActionExecutionRequest request;