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:
parent
e3a698fcd0
commit
dc4dcf89d8
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue