Fixing some lint issues

Signed-off-by: Amim Knabben <amim.knabben@gmail.com>
This commit is contained in:
Amim Knabben
2020-10-02 23:12:29 -04:00
parent bb539a9965
commit 978fa6e906
13 changed files with 35 additions and 23 deletions
+4 -1
View File
@@ -112,7 +112,10 @@ func (t *tty) recvtty(process *libcontainer.Process, socket *os.File) (Err error
if err != nil {
return err
}
console.ClearONLCR(cons.Fd())
err = console.ClearONLCR(cons.Fd())
if err != nil {
return err
}
epoller, err := console.NewEpoller()
if err != nil {
return err