Add defaulting to VolumeBindingMode

This commit is contained in:
Michelle Au
2017-11-10 13:44:55 -08:00
parent 86dd5e8d98
commit 207d13ff23
12 changed files with 216 additions and 84 deletions

View File

@@ -478,7 +478,7 @@ func TestValidateVolumeBindingMode(t *testing.T) {
cases := map[string]bindingTest{
"no mode": {
class: makeClassWithBinding(nil),
shouldSucceed: true,
shouldSucceed: false,
},
"immediate mode": {
class: makeClassWithBinding(&immediateMode1),