From 4712d52723c31454c97e09a571be02cd22e2c408 Mon Sep 17 00:00:00 2001 From: Vivian Date: Thu, 25 Sep 2025 21:06:51 +0200 Subject: [PATCH] lint --- act/cacheproxy/handler.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/act/cacheproxy/handler.go b/act/cacheproxy/handler.go index e2112766..e494b9c5 100644 --- a/act/cacheproxy/handler.go +++ b/act/cacheproxy/handler.go @@ -157,9 +157,8 @@ func (h *Handler) newReverseProxy(targetHost string) (*httputil.ReverseProxy, er func (h *Handler) ExternalURL() string { if h.cacheProxyHostOverride != "" { return h.cacheProxyHostOverride - } else { - return fmt.Sprintf("http://%s", net.JoinHostPort(h.outboundIP, strconv.Itoa(h.listener.Addr().(*net.TCPAddr).Port))) } + return fmt.Sprintf("http://%s", net.JoinHostPort(h.outboundIP, strconv.Itoa(h.listener.Addr().(*net.TCPAddr).Port))) } // Informs the proxy of a workflow run that can make cache requests.