Commit 909d7fd2 authored by Inphi's avatar Inphi Committed by GitHub

supervisor: Fix nil check (#12209)

parent b6e27b65
...@@ -66,7 +66,7 @@ func (vi *View) Process() error { ...@@ -66,7 +66,7 @@ func (vi *View) Process() error {
return logs.ErrFuture return logs.ErrFuture
} }
// check if it is an executing message. If so, check the dependency // check if it is an executing message. If so, check the dependency
if execMsg := state.ExecMessage(); execMsg == nil { if execMsg := state.ExecMessage(); execMsg != nil {
// Check if executing message is within cross L2 view, // Check if executing message is within cross L2 view,
// relative to the L1 view of current message. // relative to the L1 view of current message.
// And check if the message is valid to execute at all // And check if the message is valid to execute at all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment