fix: break long line for golines linter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dj-oyu 2026-03-15 17:48:48 +09:00
parent c8c7da47cf
commit c139792457

View file

@ -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()