fix(api): , _ removed to simplify code in range
Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips) Upstream-commit: 4e5859e8300e7c56f28ca07c47131d14f6cf8632 Component: engine
This commit is contained in:
@ -1094,7 +1094,7 @@ func ServeFd(addr string, handle http.Handler) error {
|
||||
|
||||
// Since ListenFD will return one or more sockets we have
|
||||
// to create a go func to spawn off multiple serves
|
||||
for i, _ := range ls {
|
||||
for i := range ls {
|
||||
listener := ls[i]
|
||||
go func() {
|
||||
httpSrv := http.Server{Handler: handle}
|
||||
|
||||
Reference in New Issue
Block a user