mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
chore(*): go fmt
I noticed that travis was failing, go fmt to make it happy. Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
This commit is contained in:
parent
1f44921c51
commit
1603039a71
2 changed files with 4 additions and 4 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}
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
"github.com/dotcloud/docker/engine"
|
"github.com/dotcloud/docker/engine"
|
||||||
"github.com/dotcloud/docker/pkg/cgroups"
|
"github.com/dotcloud/docker/pkg/cgroups"
|
||||||
"github.com/dotcloud/docker/pkg/graphdb"
|
"github.com/dotcloud/docker/pkg/graphdb"
|
||||||
"github.com/dotcloud/docker/registry"
|
|
||||||
"github.com/dotcloud/docker/pkg/systemd"
|
"github.com/dotcloud/docker/pkg/systemd"
|
||||||
|
"github.com/dotcloud/docker/registry"
|
||||||
"github.com/dotcloud/docker/utils"
|
"github.com/dotcloud/docker/utils"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue