We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f901c6f commit e017ba1Copy full SHA for e017ba1
api/src/main/java/org/apache/cloudstack/api/command/admin/account/DisableAccountCmd.java
@@ -108,7 +108,15 @@ public long getEntityOwnerId() {
108
109
@Override
110
public String getEventDescription() {
111
- return "Disabling Account: " + getAccountName() + " in domain: " + getResourceUuid(ApiConstants.DOMAIN_ID);
+ String message = "Disabling Account ";
112
+
113
+ if (getId() != null) {
114
+ message += "with id: " + getId();
115
+ } else {
116
+ message += getAccountName() + " in domain: " + getResourceUuid(ApiConstants.DOMAIN_ID);
117
+ }
118
119
+ return message;
120
}
121
122
0 commit comments