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:
Brandon Philips 2014-01-27 17:09:36 -08:00
parent 7839350dd5
commit 4e5859e830
1 changed files with 1 additions and 1 deletions

2
api.go
View File

@ -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}