Skip to content
Snippets Groups Projects
Commit 62639db4 authored by Sebastien Binet's avatar Sebastien Binet
Browse files

cmd/mim-{daq,rpi}: apply golanci fixes

parent faaea970
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,9 @@ func newShell(cfg config.RunCtl, rc *tdaq.RunControl) *liner.State { ...@@ -73,7 +73,9 @@ func newShell(cfg config.RunCtl, rc *tdaq.RunControl) *liner.State {
select { select {
case <-quit: case <-quit:
default: default:
go rc.Do(ctx, tdaq.CmdQuit) go func() {
_ = rc.Do(ctx, tdaq.CmdQuit)
}()
} }
}() }()
......
...@@ -116,6 +116,4 @@ func (dev *rpi) run(ctx tdaq.Context) error { ...@@ -116,6 +116,4 @@ func (dev *rpi) run(ctx tdaq.Context) error {
} }
time.Sleep(100 * time.Millisecond) time.Sleep(100 * time.Millisecond)
} }
return nil
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment