Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/lk/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1095,14 +1094,15 @@ 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),
})
}

t := util.CreateTable().
Headers("ID", "Regions", "Version", "Deployed At").
Headers("ID", "Dispatch Name", "Regions", "Version", "Deployed At").
Rows(rows...)

fmt.Println(t)
Expand Down
Loading