Merge pull request #1742 from dchen1107/termination

Set EmptyDir when VolumeSource is absent.
This commit is contained in:
Brendan Burns
2014-10-10 16:27:26 -07:00
2 changed files with 7 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ func TestValidateVolumes(t *testing.T) {
for k, v := range errorCases {
_, errs := validateVolumes(v.V)
if len(errs) == 0 {
t.Errorf("expected failure for %s", k)
t.Errorf("expected failure %s for %v", k, v.V)
continue
}
for i := range errs {