Skip to content

Commit

Permalink
fix: prefetch url
Browse files Browse the repository at this point in the history
  • Loading branch information
xianml committed Oct 16, 2024
1 parent 026771b commit 67e81e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/cloud/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 67e81e7

Please sign in to comment.