Skip to content

Commit b775848

Browse files
committed
Change internal ID to UUID in user disable event
1 parent ec533cd commit b775848

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/user/DisableUserCmd.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ public long getEntityOwnerId() {
7878

7979
@Override
8080
public String getEventDescription() {
81-
return "disabling user: " + getId();
81+
return "disabling user: " + this._uuidMgr.getUuid(User.class, getId());
8282
}
8383

8484
@Override
8585
public void execute() {
86-
CallContext.current().setEventDetails("UserId: " + getId());
86+
CallContext.current().setEventDetails("User ID: " + this._uuidMgr.getUuid(User.class, getId()));
8787
UserAccount user = _regionService.disableUser(this);
8888

8989
if (user != null) {

0 commit comments

Comments
 (0)