From c1397924577aa0f9da2a9233b2c7b0ad0709481f Mon Sep 17 00:00:00 2001 From: dj-oyu <68707227+dj-oyu@users.noreply.github.com> Date: Sun, 15 Mar 2026 17:48:48 +0900 Subject: [PATCH] fix: break long line for golines linter Co-Authored-By: Claude Opus 4.6 (1M context) --- web/backend/api/gateway.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/backend/api/gateway.go b/web/backend/api/gateway.go index db036ebde..4c341ec77 100644 --- a/web/backend/api/gateway.go +++ b/web/backend/api/gateway.go @@ -371,7 +371,9 @@ func (h *Handler) startGatewayLocked(initialStatus string) (int, error) { if healthPort == 0 { healthPort = 18790 } - healthURL := fmt.Sprintf("%s://%s/health", gatewayHealthScheme(cfg), net.JoinHostPort(healthHost, strconv.Itoa(healthPort))) + scheme := gatewayHealthScheme(cfg) + hostPort := net.JoinHostPort(healthHost, strconv.Itoa(healthPort)) + healthURL := fmt.Sprintf("%s://%s/health", scheme, hostPort) resp, err := gatewayHealthGet(healthURL, 1*time.Second) if err == nil { resp.Body.Close()