Merge pull request #74734 from codenrhoden/move-mountspath

Move MountsInGlobalPDPath from mount pkg to volume
This commit is contained in:
Kubernetes Prow Robot
2019-05-01 17:28:18 -07:00
committed by GitHub
77 changed files with 272 additions and 273 deletions

View File

@@ -756,7 +756,7 @@ func TestPluginNewUnmounter(t *testing.T) {
pv := makeTestPV("test-pv", 10, testDriver, testVol)
// save the data file to re-create client
dir := path.Join(getTargetPath(testPodUID, pv.ObjectMeta.Name, plug.host), "/mount")
dir := filepath.Join(getTargetPath(testPodUID, pv.ObjectMeta.Name, plug.host), "/mount")
if err := os.MkdirAll(dir, 0755); err != nil && !os.IsNotExist(err) {
t.Errorf("failed to create dir [%s]: %v", dir, err)
}