use proto and addr replace protoAddrParts[0] and protoAddrParts[1]
Signed-off-by: mgniu <mgniu@dataman-inc.com> Upstream-commit: dc4dcf89d885bc9bbd936337318236768dea478b Component: engine
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user