Fix indentation
This commit is contained in:
@@ -86,7 +86,6 @@ class GPUResourceManager:
|
|||||||
while not self.is_container_running(container_id) and waited < max_wait:
|
while not self.is_container_running(container_id) and waited < max_wait:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
waited += 1
|
waited += 1
|
||||||
|
|
||||||
if self.is_container_running(container_id):
|
if self.is_container_running(container_id):
|
||||||
logging.info(f"Container {container_id} started successfully")
|
logging.info(f"Container {container_id} started successfully")
|
||||||
return True
|
return True
|
||||||
@@ -378,4 +377,4 @@ def main():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f"Server error: {e}")
|
logging.error(f"Server error: {e}")
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user