mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +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())
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user