weizhouapache commented on code in PR #10560: URL: https://github.com/apache/cloudstack/pull/10560#discussion_r2104208059
########## 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: @sudo87 thanks for the explanation. LGTM -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org