sureshanaparti commented on code in PR #13030:
URL: https://github.com/apache/cloudstack/pull/13030#discussion_r3084604355


##########
server/src/main/java/com/cloud/api/query/dao/HostJoinDaoImpl.java:
##########
@@ -126,7 +126,7 @@ private void setNewHostResponseBase(HostJoinVO host, 
EnumSet<HostDetails> detail
             hostResponse.setHypervisor(hypervisorType);
         }
         hostResponse.setHostType(host.getType());
-        hostResponse.setLastPinged(new Date(host.getLastPinged()));
+        hostResponse.setLastPinged(new Date(host.getLastPinged() << 10));

Review Comment:
   ```suggestion
           hostResponse.setLastPinged(new Date(host.getLastPinged() * 1000));
   ```
   



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

Reply via email to