This commit is contained in:
Jeff Carr 2025-02-19 14:08:41 -06:00
parent d836e5ccbf
commit 8ba9c858f4
1 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,8 @@ func (t *MachinesTable) AddHostname() {
t.pb.Order = append(t.pb.Order, "Cpus")
r := new(guipb.StringRow)
r.Header = "Hostname"
r.Header = new(guipb.Widget)
r.Header.Name = "Hostname"
all := t.x.All()
for all.Scan() {
m := all.Next()
@ -35,7 +36,8 @@ func (t *MachinesTable) AddHostname() {
t.pb.StringRows = append(t.pb.StringRows, r)
i := new(guipb.IntRow)
r.Header = "Cpus"
i.Header = new(guipb.Widget)
i.Header.Name = "Cpus"
all = t.x.All()
for all.Scan() {
m := all.Next()