Skip to content

Commit a0714f9

Browse files
committed
Add error message
1 parent aec9f1b commit a0714f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/livenessprobe/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ func (h *healthProbe) checkProbe(w http.ResponseWriter, req *http.Request) {
6161

6262
if !ready {
6363
w.WriteHeader(http.StatusInternalServerError)
64+
w.Write([]byte("driver responded but is not ready"))
6465
klog.Error("driver responded but is not ready")
6566
return
6667
}

0 commit comments

Comments
 (0)