v10.7.2: Fix false positive message about suspended servers
This commit is contained in:
parent
0881d28222
commit
7a4f228625
|
@ -2,4 +2,4 @@
|
|||
|
||||
__all__ = ["api", "api_client", "client", "exceptions"]
|
||||
|
||||
__version__ = "10.7.1"
|
||||
__version__ = "10.7.2"
|
||||
|
|
|
@ -425,8 +425,11 @@ def server_list(
|
|||
str(info.autorenew),
|
||||
)
|
||||
|
||||
if info.suspended_at != 0:
|
||||
typer.echo(f"Warning: {info.machine_id} is suspended!", err=True)
|
||||
if info.suspended_at is not None:
|
||||
typer.echo(
|
||||
f"Warning: {info.machine_id} was suspended at {info.suspended_at}!",
|
||||
err=True,
|
||||
)
|
||||
|
||||
printed_machine_ids.append(info.machine_id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue