sudo87 commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r2104185199
##########
server/src/main/java/com/cloud/api/query/dao/UserVmJoinDaoImpl.java:
##########
@@ -447,6 +478,15 @@ public UserVmResponse newUserVmResponse(ResponseView view,
String objectName, Us
userVmResponse.setUserDataPolicy(userVm.getUserDataPolicy());
}
+ if (VMLeaseManager.InstanceLeaseEnabled.value() &&
userVm.getLeaseExpiryDate() != null &&
+
VMLeaseManager.LeaseActionExecution.PENDING.name().equals(userVm.getLeaseActionExecution()))
{
Review Comment:
Lease info will be part of listInstance API response as well, not limited to
DeployVm response.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]