mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
fix(api): , _ removed to simplify code in range
Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
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