// ready provides HTTP endpoint for application readiness probe
ready provides HTTP endpoint for application readiness probe
// ready provides HTTP endpoint for application readiness probe
func ready(w http.ResponseWriter, r *http.Request) {
	s, err := fake.Ready()
	if err != nil {
		w.WriteHeader(http.StatusServiceUnavailable)
	} else {
		w.Write([]byte(s))
	}
}
func ready ( w http . ResponseWriter , r * http . Request ) { s , err := fake . Ready ( ) if err != nil { w . WriteHeader ( http . StatusServiceUnavailable ) } else { w . Write ( [ ] byte ( s ) ) } }
ready provides HTTP endpoint for application readiness probe
ready provides HTTP endpoint for application readiness probe