Copilot commented on code in PR #11310:
URL: https://github.com/apache/cloudstack/pull/11310#discussion_r2236158617


##########
server/src/main/java/com/cloud/resource/ResourceManagerImpl.java:
##########
@@ -1217,7 +1217,7 @@ public Cluster updateCluster(UpdateClusterCmd cmd) {
                     for (int i = 0; i < retry; i++) {
                         lsuccess = true;
                         try {
-                            Thread.currentThread().wait(5 * 1000);
+                            Thread.sleep(5 * 1000);
                         } catch (final InterruptedException e) {
                             s_logger.debug("thread unexpectedly interupted 
during wait, while updating cluster");

Review Comment:
   The word 'interupted' is misspelled. It should be 'interrupted'.
   ```suggestion
                               s_logger.debug("thread unexpectedly interrupted 
during wait, while updating cluster");
   ```



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