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 9844912Copy full SHA for 9844912
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
{
0 commit comments