mirror of https://github.com/apache/cloudstack.git
Change internal ID to UUID in user disable event (#11824)
This commit is contained in:
parent
bc76f2042d
commit
1ef6365771
|
|
@ -78,12 +78,12 @@ public class DisableUserCmd extends BaseAsyncCmd {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getEventDescription() {
|
public String getEventDescription() {
|
||||||
return "disabling user: " + getId();
|
return "disabling user: " + this._uuidMgr.getUuid(User.class, getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
CallContext.current().setEventDetails("UserId: " + getId());
|
CallContext.current().setEventDetails("User ID: " + this._uuidMgr.getUuid(User.class, getId()));
|
||||||
UserAccount user = _regionService.disableUser(this);
|
UserAccount user = _regionService.disableUser(this);
|
||||||
|
|
||||||
if (user != null) {
|
if (user != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue