slavkap commented on code in PR #9792: URL: https://github.com/apache/cloudstack/pull/9792#discussion_r1827786503
########## plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java: ########## @@ -3991,7 +4004,7 @@ public String stopVM(final Connect conn, final String vmName, final boolean forc return stopVMInternal(conn, vmName, true); } String ret = stopVMInternal(conn, vmName, false); - if (ret == Script.ERR_TIMEOUT) { + if (ret.equals(Script.ERR_TIMEOUT)) { Review Comment: ```suggestion if (Script.ERR_TIMEOUT.equals(ret)) { ``` -- 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