Skip to content

Commit 97a6698

Browse files
Address Lucas' review
Co-authored-by: Lucas Martins <56271185+lucas-a-martins@users.noreply.github.com>
1 parent 123a0a8 commit 97a6698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/resourcelimit/ResourceLimitManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ public ResourceLimitVO updateResourceLimit(Long accountId, Long domainId, Intege
905905

906906
if (caller.getType().equals(Account.Type.NORMAL)) {
907907
logger.info("Throwing exception because only root admins and domain admins are allowed to update resource limits.");
908-
throw new PermissionDeniedException("Your account does not have the right access level to update resource limits.");
908+
throw new PermissionDeniedException("Your account does not have the permission to update resource limits.");
909909
}
910910

911911
if (max == null) {

0 commit comments

Comments
 (0)