Merge pull request #24663 from hopkings2008/repeated_api
remove the second repeated line cli.api = api since api is a pointer
This commit is contained in:
commit
d8a2568e6b
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue