1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #25406 from pwzgorilla/master

use `proto` and `addr` replace `protoAddrParts[0]` and `protoAddrPart…
This commit is contained in:
Vincent Demeester 2016-08-10 14:07:30 +02:00 committed by GitHub
commit 3b1f82b52d

View file

@ -243,8 +243,8 @@ func (cli *DaemonCli) start() (err error) {
return err return err
} }
} }
logrus.Debugf("Listener created for HTTP on %s (%s)", protoAddrParts[0], protoAddrParts[1]) logrus.Debugf("Listener created for HTTP on %s (%s)", proto, addr)
api.Accept(protoAddrParts[1], ls...) api.Accept(addr, ls...)
} }
if err := migrateKey(); err != nil { if err := migrateKey(); err != nil {