Browse Source

Merge pull request #25406 from pwzgorilla/master

use `proto` and `addr` replace `protoAddrParts[0]` and `protoAddrPart…
Vincent Demeester 9 years ago
parent
commit
3b1f82b52d
1 changed files with 2 additions and 2 deletions
  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
 				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 {
 	if err := migrateKey(); err != nil {