diff options
| author | Jeff Carr <[email protected]> | 2025-02-15 07:17:35 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-15 07:28:42 -0600 |
| commit | 8ad5e779311a5b7be1dd22ee92e582902ba33ed1 (patch) | |
| tree | 465c0072e2abfcffa6c4bc1ace69684c55ecdd27 /machine.go | |
| parent | d3b6c1725d1657d20ba843e5f1323ab8019ea9d1 (diff) | |
show some more details in the tablev0.0.25
Diffstat (limited to 'machine.go')
| -rw-r--r-- | machine.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,8 +1,11 @@ package main import ( + "time" + "go.wit.com/lib/protobuf/zoopb" "go.wit.com/log" + "google.golang.org/protobuf/types/known/timestamppb" ) // someone sent machine 'u' is it new? @@ -41,6 +44,7 @@ func updateMachine(u *zoopb.Machine) string { if zood := m.Packages.FindByName("zood"); zood != nil { log.Log(INFO, m.Hostname, "has zood version", zood.Version) } + m.Laststamp = timestamppb.New(time.Now()) updatePackages(m, u.Packages) return "upgrade" |
