1
0
Fork 0

Merge pull request #1694 from rqlite/otoolep-sync-not-commit

"sync" not "commit"
master
Philip O'Toole 7 months ago committed by GitHub
commit cf200fb357
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1014,7 +1014,7 @@ func (s *Service) handleReadyz(w http.ResponseWriter, r *http.Request, qp QueryP
w.Write([]byte(fmt.Sprintf("[+]node ok\n[+]leader ok\n[+]store ok\n[+]sync %s", err.Error())))
return
}
okMsg += "\n[+]commit ok"
okMsg += "\n[+]sync ok"
}
w.WriteHeader(http.StatusOK)
w.Write([]byte(okMsg))

Loading…
Cancel
Save