Skip to content

Commit 9627223

Browse files
committed
fix disableAccount API event description
1 parent 0c39212 commit 9627223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/account/DisableAccountCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public String getEventDescription() {
121121

122122
@Override
123123
public void execute() throws ConcurrentOperationException, ResourceUnavailableException {
124-
CallContext.current().setEventDetails("Account Name: " + getAccountName() + ", Domain Id:" + getDomainId());
124+
CallContext.current().setEventDetails("Account Name: " + getAccountName() + ", Domain Id:" + getResourceUuid(ApiConstants.DOMAIN_ID));
125125
Account result = _regionService.disableAccount(this);
126126
if (result != null){
127127
AccountResponse response = _responseGenerator.createAccountResponse(ResponseView.Full, result);

0 commit comments

Comments
 (0)