From 7a4ef83820bc6e01d8d5765b8825562ade8135e6 Mon Sep 17 00:00:00 2001 From: danm Date: Mon, 6 Apr 2026 13:26:30 -0600 Subject: [PATCH] add dispatch name to agent listing --- cmd/lk/agent.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lk/agent.go b/cmd/lk/agent.go index e6745d0a..a1ffe667 100644 --- a/cmd/lk/agent.go +++ b/cmd/lk/agent.go @@ -468,7 +468,6 @@ func initAgent(ctx context.Context, cmd *cli.Command) error { fmt.Println("Creating sandbox app...") fmt.Printf("Created sandbox app [%s]\n", util.Accented(sandboxID)) } - } // Run template bootstrap @@ -1095,6 +1094,7 @@ func listAgents(ctx context.Context, cmd *cli.Command) error { } rows = append(rows, []string{ agent.AgentId, + agent.AgentName, strings.Join(regions, ","), agent.Version, agent.DeployedAt.AsTime().Format(time.RFC3339), @@ -1102,7 +1102,7 @@ func listAgents(ctx context.Context, cmd *cli.Command) error { } t := util.CreateTable(). - Headers("ID", "Regions", "Version", "Deployed At"). + Headers("ID", "Dispatch Name", "Regions", "Version", "Deployed At"). Rows(rows...) fmt.Println(t)