Browse Source

remove the second repeated line cli.api = api since api is a pointer

Signed-off-by: yuzou <zouyu7@huawei.com>
yuzou 9 years ago
parent
commit
cb31d03b58
1 changed files with 0 additions and 1 deletions
  1. 0 1
      cmd/dockerd/daemon.go

+ 0 - 1
cmd/dockerd/daemon.go

@@ -256,7 +256,6 @@ func (cli *DaemonCli) start() (err error) {
 	if err != nil {
 		return err
 	}
-	cli.api = api
 	signal.Trap(func() {
 		cli.stop()
 		<-stopc // wait for daemonCli.start() to return