Skip to content

Commit

Permalink
Cache empty action list when no action is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
ashanthamara committed Feb 25, 2025
1 parent d772b63 commit 3a74147
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public List<Action> getActionsByActionType(String actionType, String tenantDomai

List<Action> actions = ACTION_MGT_SERVICE.getActionsByActionType(actionType, tenantDomain);

if (actions != null && !actions.isEmpty()) {
if (actions != null) {
if (LOG.isDebugEnabled()) {
LOG.debug("Entry fetched from DB for Action Type " + actionType + ". Updating cache.");
}
Expand Down

0 comments on commit 3a74147

Please sign in to comment.