mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 22:05:59 +00:00
Merge branch 'fix-host-path-swallowed-error' into fix-storageos-swallowed-err
This commit is contained in:
commit
2493f7e936
@ -158,7 +158,9 @@ func TestProvisioner(t *testing.T) {
|
|||||||
tempPath := fmt.Sprintf("/tmp/hostpath/%s", uuid.NewUUID())
|
tempPath := fmt.Sprintf("/tmp/hostpath/%s", uuid.NewUUID())
|
||||||
defer os.RemoveAll(tempPath)
|
defer os.RemoveAll(tempPath)
|
||||||
err := os.MkdirAll(tempPath, 0750)
|
err := os.MkdirAll(tempPath, 0750)
|
||||||
|
if err != nil {
|
||||||
|
t.Errorf("Failed to create tempPath %s error:%v", tempPath, err)
|
||||||
|
}
|
||||||
plugMgr := volume.VolumePluginMgr{}
|
plugMgr := volume.VolumePluginMgr{}
|
||||||
plugMgr.InitPlugins(ProbeVolumePlugins(volume.VolumeConfig{ProvisioningEnabled: true}),
|
plugMgr.InitPlugins(ProbeVolumePlugins(volume.VolumeConfig{ProvisioningEnabled: true}),
|
||||||
nil,
|
nil,
|
||||||
|
Loading…
Reference in New Issue
Block a user