We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2e009f commit 4bd14caCopy full SHA for 4bd14ca
āscripts/maintenance/computational-clusters/autoscaled_monitor/core.py
@@ -457,7 +457,11 @@ def _print_summary_as_json(
457
"user_id": cluster.primary.user_id,
458
"wallet_id": cluster.primary.wallet_id,
459
"disk_space": cluster.primary.disk_space.human_readable(),
460
- "last_heartbeat": cluster.primary.last_heartbeat.isoformat(),
+ "last_heartbeat": (
461
+ cluster.primary.last_heartbeat.isoformat()
462
+ if cluster.primary.last_heartbeat
463
+ else "n/a"
464
+ ),
465
},
466
"workers": [
467
{
@@ -806,6 +810,7 @@ async def terminate_dynamic_instances(
806
810
rich.print("no instances found")
807
811
raise typer.Exit(1)
808
812
813
+ assert state.ec2_resource_autoscaling # nosec
809
814
_print_dynamic_instances(
815
dynamic_autoscaled_instances,
816
state.environment,
0 commit comments