mirror of https://github.com/apache/cloudstack.git
Correction of the user responsible for the event (#13066)
Co-authored-by: gean.silva <gean.silva@scclouds.com.br>
This commit is contained in:
parent
ffebe8eaa6
commit
92d82989e3
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue