Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use spinner log instead of console log #4429

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

FogDong
Copy link
Member

@FogDong FogDong commented Jan 19, 2024

What does this PR address?

Fixes #(issue)

Before submitting:

Signed-off-by: FogDong <fog@bentoml.com>
@FogDong FogDong requested a review from a team as a code owner January 19, 2024 06:08
@FogDong FogDong requested review from frostming and removed request for a team January 19, 2024 06:08
@@ -620,6 +620,9 @@ def create_deployment(
spinner.log_progress.add_task(
f"[bold green]Successfully created deployment '{deployment.name}' in cluster '{deployment.cluster}'[/bold green]"
)
spinner.log_progress.add_task(
f"[bold blue]To check the deployment details, go to: {deployment.admin_console}[/bold blue]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol I know why we saw old green yesterday

Copy link
Contributor

@frostming frostming Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small tip is to use [/] as the closing tag, or even without the closing tag if it reaches the end of the string, to avoid mistakes.

@bojiang bojiang merged commit 835aa57 into bentoml:1.2 Jan 19, 2024
37 of 38 checks passed
frostming pushed a commit that referenced this pull request Feb 1, 2024
Signed-off-by: FogDong <fog@bentoml.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants