From d300e6e25ac32dc5f274e045c638ed5a2ac1c591 Mon Sep 17 00:00:00 2001 From: --add Date: Tue, 7 May 2024 19:58:02 +0530 Subject: [PATCH] chore: formatting --- modules/caddyhttp/reverseproxy/healthchecks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/reverseproxy/healthchecks.go b/modules/caddyhttp/reverseproxy/healthchecks.go index 33974ac528a..90db9b3402a 100644 --- a/modules/caddyhttp/reverseproxy/healthchecks.go +++ b/modules/caddyhttp/reverseproxy/healthchecks.go @@ -158,7 +158,7 @@ func (a *ActiveHealthChecks) Provision(ctx caddy.Context, h *Handler) error { Transport: h.Transport, CheckRedirect: func(req *http.Request, via []*http.Request) error { if !a.FollowRedirects { - return http.ErrUseLastResponse + return http.ErrUseLastResponse } return nil },