Преглед изворни кода

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 {