Skip to content

Commit c9a4dca

Browse files
author
Daan Hoogland
committed
set command name in resopnse
1 parent 35822fc commit c9a4dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/user-authenticators/ldap/src/main/java/org/apache/cloudstack/api/command/UnlinkDomainFromLdapCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public Long getDomainId() {
5252
@Override
5353
public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException, ResourceAllocationException, NetworkRuleConflictException {
5454
boolean rc = _ldapManager.unlinkDomainFromLdap(this);
55-
SuccessResponse response = new SuccessResponse();
55+
SuccessResponse response = new SuccessResponse(getCommandName());
5656
response.setSuccess(rc);
5757
if (rc) {
5858
response.setDisplayText("Domain unlinked from LDAP successfully");

0 commit comments

Comments
 (0)