Skip to content

Commit f2560a6

Browse files
committed
feat(trust): populate trusted-agents list with 436 service agents
Schema is now { hostname, address, node_id }. Other JSON fields in the source file (tier, description) are silently ignored on unmarshal — runtime only matches by node_id and uses hostname/ address for logs and `pilotctl trusted list` output.
1 parent 156e44a commit f2560a6

5 files changed

Lines changed: 3092 additions & 20 deletions

File tree

cmd/pilotctl/trusted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ func cmdTrusted(args []string) {
2020
return
2121
}
2222
for _, a := range agents {
23-
fmt.Printf(" %-20s node_id=%d\n", a.Name, a.NodeID)
23+
fmt.Printf(" %-32s %s node_id=%d\n", a.Hostname, a.Address, a.NodeID)
2424
}
2525
}

0 commit comments

Comments
 (0)