update the log message for mount windows

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
This commit is contained in:
Anish Ramasekar 2021-09-16 20:19:59 +00:00
parent 63e7ee43bb
commit 00e6f240ec
No known key found for this signature in database
GPG Key ID: F1F7F3518F1ECB0C

View File

@ -217,7 +217,7 @@ func removeSMBMapping(remotepath string) (string, error) {
// Unmount unmounts the target. // Unmount unmounts the target.
func (mounter *Mounter) Unmount(target string) error { func (mounter *Mounter) Unmount(target string) error {
klog.V(4).Infof("azureMount: Unmount target (%q)", target) klog.V(4).Infof("Unmount target (%q)", target)
target = NormalizeWindowsPath(target) target = NormalizeWindowsPath(target)
if output, err := exec.Command("cmd", "/c", "rmdir", target).CombinedOutput(); err != nil { if output, err := exec.Command("cmd", "/c", "rmdir", target).CombinedOutput(); err != nil {
klog.Errorf("rmdir failed: %v, output: %q", err, string(output)) klog.Errorf("rmdir failed: %v, output: %q", err, string(output))