diff options
| author | Jeff Carr <[email protected]> | 2025-03-23 11:43:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-23 11:43:42 -0500 |
| commit | 0a70f3bdde6bc1e00a73aca2eec055874cd39212 (patch) | |
| tree | f25395aed77b757ecc894589b173bf2f751c1fa5 /http.go | |
| parent | a24c5f67e5d0ea90322f0ee9803c996bf3f34bcb (diff) | |
new FindVersion()v0.0.52
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { var bad int for m := range me.machines.IterAll() { count += 1 - if findVersion(m, "zood") != me.zood.version { + if m.FindVersion("zood") != me.zood.version { if m.SinceLastUpdate() > 10*time.Minute { // skip machines that have not been updated in the last 10 minutes log.Info("ignoring old machine", m.Hostname) |
