浏览代码

Merge pull request #25406 from pwzgorilla/master

use `proto` and `addr` replace `protoAddrParts[0]` and `protoAddrPart…
Vincent Demeester 9 年之前
父节点
当前提交
3b1f82b52d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      cmd/dockerd/daemon.go

+ 2 - 2
cmd/dockerd/daemon.go

@@ -243,8 +243,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 {