1
0
Fork 0

Update service.go

master
Philip O'Toole 7 months ago committed by GitHub
parent 513ed4c484
commit 3e4e3eb321
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()))) w.Write([]byte(fmt.Sprintf("[+]node ok\n[+]leader ok\n[+]store ok\n[+]sync %s", err.Error())))
return return
} }
okMsg += "\n[+]commit ok" okMsg += "\n[+]sync ok"
} }
w.WriteHeader(http.StatusOK) w.WriteHeader(http.StatusOK)
w.Write([]byte(okMsg)) w.Write([]byte(okMsg))

Loading…
Cancel
Save