Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Dec 11, 2024
1 parent 9cd327f commit fc5fd41
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions fedcloud_vm_monitoring/sla_monitor_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ def check_site_slas(site, site_slas, goc, acct, appdb):
f"[OK] {site} has accounting info for SLA {sla_name} ({accounted_vos})"
)
else:
click.echo(
f"[ERR] {site} has no accounting info for SLA {sla_name}"
)
click.echo(f"[ERR] {site} has no accounting info for SLA {sla_name}")
info_vos = sla["vos"].intersection(appdb_vos)
if info_vos:
click.echo(
f"[OK] {site} has configured {info_vos} for SLA {sla_name}"
)
click.echo(f"[OK] {site} has configured {info_vos} for SLA {sla_name}")
else:
click.echo(f"[ERR] {site} has no configured VO for SLA {sla_name}")
click.secho(f"[-] Checking aditional VOs at {site}", fg="yellow", bold=True)
Expand Down

0 comments on commit fc5fd41

Please sign in to comment.