Add a reporter to the system verification check

This commit is contained in:
Lucas Käldström
2016-11-12 16:36:40 +02:00
parent 3509419543
commit dacec687a4
12 changed files with 96 additions and 51 deletions

View File

@@ -23,7 +23,9 @@ import (
)
func TestValidateCgroupSubsystem(t *testing.T) {
v := &CgroupsValidator{}
v := &CgroupsValidator{
Reporter: DefaultReporter,
}
cgroupSpec := []string{"system1", "system2"}
for desc, test := range map[string]struct {
cgroupSpec []string