klog.Warningf("azureMount: mount options(%q) command number(%d) less than 2, source:%q, target:%q, skip mounting",
klog.Warningf("mount options(%q) command number(%d) less than 2, source:%q, target:%q, skip mounting",
options,len(options),source,target)
returnnil
}
// currently only cifs mount is supported
ifstrings.ToLower(fstype)!="cifs"{
returnfmt.Errorf("azureMount: only cifs mount is supported now, fstype: %q, mounting source (%q), target (%q), with options (%q)",fstype,source,target,options)
returnfmt.Errorf("only cifs mount is supported now, fstype: %q, mounting source (%q), target (%q), with options (%q)",fstype,source,target,options)
}
bindSource=source
// use PowerShell Environment Variables to store user input string to prevent command line injection