diff --git a/src/bentoml/_internal/cloud/deployment.py b/src/bentoml/_internal/cloud/deployment.py index 1428c18f695..76e063083c8 100644 --- a/src/bentoml/_internal/cloud/deployment.py +++ b/src/bentoml/_internal/cloud/deployment.py @@ -508,7 +508,7 @@ def wait_until_ready( if spinner is not None: stop_tail_event = Event() - def tail_image_builder_logs(): + def tail_image_builder_logs() -> None: cloud_rest_client = get_rest_api_client(self._context) pod: KubePodSchema | None = None while True: @@ -539,6 +539,7 @@ def tail_image_builder_logs(): if is_first: is_first = False spinner.update("🚧 Image building...") + spinner.stop() print(decoded_str, end="", flush=True) tail_thread: Thread | None = None