weizhouapache commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r2103983645


##########
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:
   is the information displayed when vm is deployed ?
   @sudo87  



##########
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:
   is the information displayed only when vm is deployed ?
   @sudo87  



-- 
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

Reply via email to