Browse Source

Merge pull request #24663 from hopkings2008/repeated_api

remove the second repeated line cli.api = api since api is a pointer
Alexander Morozov 9 năm trước cách đây
mục cha
commit
d8a2568e6b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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