diff options
| -rw-r--r-- | dashboard/app/tree_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/app/tree_test.go b/dashboard/app/tree_test.go index f12799b42..e2e5b8fd0 100644 --- a/dashboard/app/tree_test.go +++ b/dashboard/app/tree_test.go @@ -1135,6 +1135,7 @@ func (ctx *treeTestCtx) doJob(resp *dashapi.JobPollResp, day int) { } if found == nil { ctx.ctx.t.Fatalf("unknown job request: %#v", resp) + return // to avoid staticcheck false positive about nil deref } // Figure out what should the result be. result := treeTestOK |
