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

use proto and addr replace protoAddrParts[0] and protoAddrParts[1]

Signed-off-by: mgniu <mgniu@dataman-inc.com>
This commit is contained in:
mgniu 2016-08-10 16:03:00 +08:00
parent e3a698fcd0
commit dc4dcf89d8

View file

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