Merge branch 'fix-host-path-swallowed-error' into fix-storageos-swallowed-err

This commit is contained in:
Lars Lehtonen 2017-08-26 14:51:53 -07:00
commit 2493f7e936
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

View File

@ -158,7 +158,9 @@ func TestProvisioner(t *testing.T) {
tempPath := fmt.Sprintf("/tmp/hostpath/%s", uuid.NewUUID())
defer os.RemoveAll(tempPath)
err := os.MkdirAll(tempPath, 0750)
if err != nil {
t.Errorf("Failed to create tempPath %s error:%v", tempPath, err)
}
plugMgr := volume.VolumePluginMgr{}
plugMgr.InitPlugins(ProbeVolumePlugins(volume.VolumeConfig{ProvisioningEnabled: true}),
nil,