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>
This commit is contained in:
parent
ca25df3b54
commit
04207c2db9
|
@ -63,5 +63,4 @@ func TestLocalVolumeSize(t *testing.T) {
|
||||||
t.Fatalf("got unexpected volume: %+v", v)
|
t.Fatalf("got unexpected volume: %+v", v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assert.Assert(t, is.Equal(ls[1].UsageData.Size, int64(len(data[:1]))))
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue