diff options
| author | Jeff Carr <[email protected]> | 2024-12-29 23:21:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-29 23:21:46 -0600 |
| commit | 95fe5a4eab321d9c5db41fe28bd66aa805e9d4ca (patch) | |
| tree | ad11f79bfc10bd2f421df84a95b4e606343cf996 /http.go | |
| parent | d62931e46a9d38967ae28140471b773fa6ffc77d (diff) | |
| parent | 1abcc862fe85f5a49cff41a3bd0ed891908dfca4 (diff) | |
Merge branch 'jcarr' of gitea.wit.com:jcarr/zookeeper into jcarr
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -77,10 +77,10 @@ func okHandler(w http.ResponseWriter, r *http.Request) { if route == "/list" { log.HttpMode(w) defer log.HttpMode(nil) - loop := me.machines.SortByName() + loop := me.machines.SortByHostname() for loop.Scan() { - m := loop.Machine() - zood := m.FindPackageByName("zood") + m := loop.Next() + zood := m.Packages.FindByName("zood") v := me.targets["zood"] // this is the target version if zood == nil { log.Info("machine", m.Hostname, "does not have zood installed") |
