fix: break long line for golines linter
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c8c7da47cf
commit
c139792457
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue