make logging not use f-str, change others to f-str (#22882)
This commit is contained in:
@@ -29,9 +29,7 @@ def update_tidb_serverless_status_task():
|
||||
click.echo(click.style(f"Error: {e}", fg="red"))
|
||||
|
||||
end_at = time.perf_counter()
|
||||
click.echo(
|
||||
click.style("Update tidb serverless status task success latency: {}".format(end_at - start_at), fg="green")
|
||||
)
|
||||
click.echo(click.style(f"Update tidb serverless status task success latency: {end_at - start_at}", fg="green"))
|
||||
|
||||
|
||||
def update_clusters(tidb_serverless_list: list[TidbAuthBinding]):
|
||||
|
Reference in New Issue
Block a user