Skip to content

Commit

Permalink
Merge pull request containerd#70 from gliptak/patch-1
Browse files Browse the repository at this point in the history
Correct ineffassign warning
  • Loading branch information
estesp authored Dec 7, 2018
2 parents 3bc6dde + b49c471 commit 10cd53e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cgroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ func TestLoadWithMissingSubsystems(t *testing.T) {
t.Error(err)
return
}
if control == nil {
t.Error("control is nil")
return
}
if control, err = Load(mock.hierarchy, StaticPath("test")); err != nil {
t.Error(err)
return
Expand Down

0 comments on commit 10cd53e

Please sign in to comment.