Skip to content

Commit bce946c

Browse files
committed
server: drop a comment that repeats the code
1 parent 97b64bf commit bce946c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎server/src/main/java/com/cloud/api/ApiDBUtils.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,6 @@ public static long findCorrectResourceLimitForDomain(Long limit, ResourceType re
10051005
if (domainId == Domain.ROOT_DOMAIN) {
10061006
return Resource.RESOURCE_UNLIMITED;
10071007
}
1008-
//--If limit doesn't have a value then fetch the limit that is enforced: a parent domain's limit or the default from the configs
10091008
return (limit == null) ? findCorrectResourceLimitForDomain(resourceType, domainId) : limit;
10101009
}
10111010

0 commit comments

Comments
 (0)