Skip to content

Commit bcd4cdd

Browse files
committed
Fix compilation issue due to method rename.
1 parent 8c15e61 commit bcd4cdd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎api/src/org/apache/cloudstack/api/command/admin/acl/GrantPermissionToAclRoleCmd.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public long getEntityOwnerId() {
9292
public void execute() throws ResourceUnavailableException,
9393
InsufficientCapacityException, ServerApiException {
9494
CallContext.current().setEventDetails("Acl role Id: " + getId());
95-
AclRole result = _aclService.grantPermissionToAclRole(id, apiList);
95+
AclRole result = _aclService.grantApiPermissionToAclRole(id, apiList);
9696
if (result != null) {
9797
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
9898
response.setResponseName(getCommandName());

‎api/src/org/apache/cloudstack/api/command/admin/acl/RevokePermissionFromAclRoleCmd.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public long getEntityOwnerId() {
9292
public void execute() throws ResourceUnavailableException,
9393
InsufficientCapacityException, ServerApiException {
9494
CallContext.current().setEventDetails("Acl role Id: " + getId());
95-
AclRole result = _aclService.revokePermissionFromAclRole(id, apiList);
95+
AclRole result = _aclService.revokeApiPermissionFromAclRole(id, apiList);
9696
if (result != null) {
9797
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
9898
response.setResponseName(getCommandName());

0 commit comments

Comments
 (0)