diff options
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) |
