1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

Signed-off-by: yuzou <zouyu7@huawei.com>
This commit is contained in:
yuzou 2016-07-15 11:45:30 +08:00
parent 9df2a825ba
commit cb31d03b58

View file

@ -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