mirror of
https://github.com/traefik/traefik
synced 2026-02-03 12:20:33 +00:00
Update linter
This commit is contained in:
@@ -1072,7 +1072,7 @@ func (s *HTTPSSuite) TestEntryPointHttpsRedirectAndPathModification(c *check.C)
|
||||
resp.Body.Close()
|
||||
|
||||
location := resp.Header.Get("Location")
|
||||
expected := fmt.Sprintf("https://%s:8443%s", host, test.path)
|
||||
expected := "https://" + net.JoinHostPort(host, "8443") + test.path
|
||||
|
||||
c.Assert(location, checker.Equals, expected)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user