This is an automated email from the ASF dual-hosted git repository.
sureshanaparti pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.22 by this push:
new 92d82989e32 Correction of the user responsible for the event (#13066)
92d82989e32 is described below
commit 92d82989e327470c48d3ad2123a93011c0fb5ae3
Author: Gean Jair Silva <[email protected]>
AuthorDate: Thu Apr 30 05:46:26 2026 -0300
Correction of the user responsible for the event (#13066)
Co-authored-by: gean.silva <[email protected]>
---
.../main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java
b/server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java
index 9e7c644cf65..fad2da89cf2 100644
--- a/server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java
+++ b/server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java
@@ -1037,7 +1037,8 @@ public class ResourceLimitManagerImpl extends ManagerBase
implements ResourceLim
ResourceLimitVO limit =
_resourceLimitDao.findByOwnerIdAndTypeAndTag(ownerId, ownerType, resourceType,
tag);
- ActionEventUtils.onActionEvent(caller.getId(), caller.getAccountId(),
+ Long callingUserId = CallContext.current().getCallingUserId();
+ ActionEventUtils.onActionEvent(callingUserId, caller.getAccountId(),
caller.getDomainId(), EventTypes.EVENT_RESOURCE_LIMIT_UPDATE,
"Resource limit updated. Resource Type: " + resourceType + ",
New Value: " + max,
ownerResourceId, ownerResourceType.toString());