Skip to content
Open
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
3 changes: 2 additions & 1 deletion cmd/lk/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@
}

table := util.CreateTable().
Headers("Version", "Current", "Status", "Created At", "Deployed At")
Headers("Version", "Current", "Draining", "Status", "Created At", "Deployed At")

// Sort versions by created date descending
slices.SortFunc(versions.Versions, func(a, b *lkproto.AgentVersion) int {
Expand All @@ -1020,6 +1020,7 @@
table.Row(
version.Version,
fmt.Sprintf("%t", version.Current),
fmt.Sprintf("%t", version.Draining),

Check failure on line 1023 in cmd/lk/agent.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

version.Draining undefined (type *livekit.AgentVersion has no field or method Draining) (compile)

Check failure on line 1023 in cmd/lk/agent.go

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

version.Draining undefined (type *livekit.AgentVersion has no field or method Draining) (compile)

Check failure on line 1023 in cmd/lk/agent.go

View workflow job for this annotation

GitHub Actions / build

version.Draining undefined (type *livekit.AgentVersion has no field or method Draining) (compile)

Check failure on line 1023 in cmd/lk/agent.go

View workflow job for this annotation

GitHub Actions / build

version.Draining undefined (type *livekit.AgentVersion has no field or method Draining) (compile)
version.Status,
version.CreatedAt.AsTime().Format(time.RFC3339),
version.DeployedAt.AsTime().Format(time.RFC3339),
Expand Down
Loading