mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
7839350dd5
commit
4e5859e830
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
@ -1094,7 +1094,7 @@ func ServeFd(addr string, handle http.Handler) error {
|
||||||
|
|
||||||
// Since ListenFD will return one or more sockets we have
|
// Since ListenFD will return one or more sockets we have
|
||||||
// to create a go func to spawn off multiple serves
|
// to create a go func to spawn off multiple serves
|
||||||
for i, _ := range ls {
|
for i := range ls {
|
||||||
listener := ls[i]
|
listener := ls[i]
|
||||||
go func() {
|
go func() {
|
||||||
httpSrv := http.Server{Handler: handle}
|
httpSrv := http.Server{Handler: handle}
|
||||||
|
|
Loading…
Add table
Reference in a new issue