The Ledger UI groups Swarm services under their cluster and lists the cluster's managers, so the master needs to know which cluster an agent belongs to. RecordHello now stores hello.SwarmClusterID in the new agents.swarm_cluster_id column. Claude-Session: https://claude.ai/code/session_01GAZsp3P7Qto6JnhipxWUJQ
2 lines
73 B
SQL
2 lines
73 B
SQL
ALTER TABLE agents ADD COLUMN swarm_cluster_id text NOT NULL DEFAULT '';
|