Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NormalizeWindowsPath (0.32 sec)

  1. pkg/volume/util/hostutil/hostutil_windows.go

    		return "", err
    	}
    	if len(refs) == 0 {
    		return "", fmt.Errorf("directory %s is not mounted", mountPath)
    	}
    	basemountPath := mount.NormalizeWindowsPath(pluginMountDir)
    	for _, ref := range refs {
    		if strings.Contains(ref, basemountPath) {
    			volumeID, err := filepath.Rel(mount.NormalizeWindowsPath(basemountPath), ref)
    			if err != nil {
    				klog.Errorf("Failed to get volume id from mount %s - %v", mountPath, err)
    				return "", err
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 13:38:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top