From 67e81e7a038bdadcb6cf94cd76d2e8c60414ed57 Mon Sep 17 00:00:00 2001 From: xianml Date: Wed, 16 Oct 2024 14:55:58 +0800 Subject: [PATCH] fix: prefetch url --- src/bentoml/_internal/cloud/deployment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bentoml/_internal/cloud/deployment.py b/src/bentoml/_internal/cloud/deployment.py index c4a2c88401..981e5a8149 100644 --- a/src/bentoml/_internal/cloud/deployment.py +++ b/src/bentoml/_internal/cloud/deployment.py @@ -866,7 +866,7 @@ def is_bento_changed(bento_info: Bento) -> bool: bento_dir, spinner=spinner ) if endpoint_url is None: - endpoint_url = self.get_endpoint_urls(False)[0] + endpoint_url = self.get_endpoint_urls(True)[0] spinner.log(f"🌐 Endpoint: {endpoint_url}") with self._tail_logs(spinner.console): spinner.update("👀 Watching for changes")