modify fsStats to fsStatsType to avoid confusion with cadvisor types

This commit is contained in:
derekwaynecarr
2016-07-25 22:40:22 -04:00
parent 9604b47c13
commit 0de1e62b30
4 changed files with 22 additions and 20 deletions

View File

@@ -2965,7 +2965,7 @@ func TestPodSchedulesOnNodeWithDiskPressureCondition(t *testing.T) {
}
for _, test := range tests {
fits, err := CheckNodeDiskPressurePredicate(test.pod, test.nodeInfo)
fits, err := CheckNodeDiskPressurePredicate(test.pod, nil, test.nodeInfo)
if fits != test.fits {
t.Errorf("%s: expected %v got %v", test.name, test.fits, fits)
}