Jelajahi Sumber

Merge pull request #25406 from pwzgorilla/master

use `proto` and `addr` replace `protoAddrParts[0]` and `protoAddrPart…
Vincent Demeester 9 tahun lalu
induk
melakukan
3b1f82b52d
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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 {