Skip to content

Commit

Permalink
fix: filter out issues from other machines in TablePrinter
Browse files Browse the repository at this point in the history
fixes #237
  • Loading branch information
mwennrich committed Mar 8, 2024
1 parent 88539e5 commit 0ea071e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/tableprinters/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ func (t *TablePrinter) MachineIssuesTable(data *MachinesAndIssues, wide bool) ([
}

machine := machinesByID[*issue.Machineid]
if machine == nil {
continue
}

widename := ""
if machine.Allocation != nil && machine.Allocation.Name != nil {
Expand Down

0 comments on commit 0ea071e

Please sign in to comment.