proper scope for variable
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
7d25f82d9d
commit
d071b879b0
|
|
@ -1239,13 +1239,11 @@ class CsiBaseDriver {
|
||||||
|
|
||||||
const WindowsUtils = require("../utils/windows").Windows;
|
const WindowsUtils = require("../utils/windows").Windows;
|
||||||
const wutils = new WindowsUtils();
|
const wutils = new WindowsUtils();
|
||||||
|
let win_staging_target_path =
|
||||||
|
filesystem.covertUnixSeparatorToWindowsSeparator(staging_target_path);
|
||||||
|
|
||||||
switch (node_attach_driver) {
|
switch (node_attach_driver) {
|
||||||
case "smb":
|
case "smb":
|
||||||
let win_staging_target_path =
|
|
||||||
filesystem.covertUnixSeparatorToWindowsSeparator(
|
|
||||||
staging_target_path
|
|
||||||
);
|
|
||||||
device = `//${volume_context.server}/${volume_context.share}`;
|
device = `//${volume_context.server}/${volume_context.share}`;
|
||||||
const username = driver.getMountFlagValue(mount_flags, "username");
|
const username = driver.getMountFlagValue(mount_flags, "username");
|
||||||
const password = driver.getMountFlagValue(mount_flags, "password");
|
const password = driver.getMountFlagValue(mount_flags, "password");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue