Fix wrong assertion in volume/service package
This last assertion shouldn't be there, those cases should be handled by the for/switch above. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 04207c2db9cd82e47aa82bc2834fe3820086a697 Component: engine
This commit is contained in:
@@ -63,5 +63,4 @@ func TestLocalVolumeSize(t *testing.T) {
|
||||
t.Fatalf("got unexpected volume: %+v", v)
|
||||
}
|
||||
}
|
||||
assert.Assert(t, is.Equal(ls[1].UsageData.Size, int64(len(data[:1]))))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user