make logging not use f-str, change others to f-str (#22882)
This commit is contained in:
parent
570aee5fe6
commit
a189d293f8
164 changed files with 557 additions and 563 deletions
|
|
@ -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]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue