diff --git a/windowZooPB.go b/windowZooPB.go index d4e835a..154335b 100644 --- a/windowZooPB.go +++ b/windowZooPB.go @@ -38,8 +38,8 @@ func addButtonForZooPB(grid *gui.Node) (*gui.Node, *gadgets.GenericWindow) { // display the protobuf t = AddMachinesPB(tbox, me.machines) - f := func(id int) { - log.Info("got to MachinesTable.Custom() id =", id) + f := func(m *zoopb.Machine) { + log.Info("got to MachinesTable.Custom() ", m.Hostname) } t.Custom(f) log.Info("table has uuid", t.GetUuid())