mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
Fix staticcheck S1023
Static check was complaining about code that looked like _ = <-ch when it wants to see simply <-ch There was only one instance of this in govmm and this commit fixes that instance. Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
This commit is contained in:
parent
932fdc7f50
commit
ad310f9fde
@ -525,7 +525,7 @@ func (q *QMP) mainLoop() {
|
|||||||
}
|
}
|
||||||
/* #nosec */
|
/* #nosec */
|
||||||
_ = q.conn.Close()
|
_ = q.conn.Close()
|
||||||
_ = <-fromVMCh
|
<-fromVMCh
|
||||||
failOutstandingCommands(cmdQueue)
|
failOutstandingCommands(cmdQueue)
|
||||||
close(q.disconnectedCh)
|
close(q.disconnectedCh)
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user