Skip to content

Commit 636cdcf

Browse files
committed
fix: http probe log
1 parent 302b9b5 commit 636cdcf

File tree

1 file changed

+1
-1
lines changed
  • pkg/controllers/rolloutrun/webhook/probe/http

1 file changed

+1
-1
lines changed

pkg/controllers/rolloutrun/webhook/probe/http/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func DoHTTPProbe(url string, payload *rolloutv1alpha1.RolloutWebhookReview, clie
124124
return probe.Result{
125125
Code: rolloutv1alpha1.WebhookReviewCodeError,
126126
Reason: "HTTPResponseError",
127-
Message: fmt.Sprintf("HTTP probe failed with statuscode: %d, body: %q", res.StatusCode, string(b)),
127+
Message: fmt.Sprintf("HTTP probe failed with statuscode: %d, request: %q, response: %q", res.StatusCode, string(bodyBytes), string(b)),
128128
}
129129
}
130130

0 commit comments

Comments
 (0)