minor fixes

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2022-05-12 11:15:16 -06:00
parent 47d18084ba
commit fc581fa6d0
3 changed files with 9 additions and 7 deletions

View File

@ -129,7 +129,8 @@ jobs:
- self-hosted
- Linux
- X64
- csi-sanity-truenas
#- csi-sanity-truenas
- csi-sanity-zfs-generic
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
@ -162,7 +163,8 @@ jobs:
- self-hosted
- Linux
- X64
- csi-sanity-truenas
#- csi-sanity-truenas
- csi-sanity-zfs-generic
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
@ -194,7 +196,8 @@ jobs:
- self-hosted
- Linux
- X64
- csi-sanity-truenas
#- csi-sanity-truenas
- csi-sanity-zfs-generic
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2

View File

@ -93,7 +93,6 @@ COPY --from=build /app /app
WORKDIR /app
# this works for both host-process and non-host-process container semantics
COPY --from=build /nodejs/node.exe .
COPY --from=build /nodejs/node.exe ./bin
ENTRYPOINT [ "node.exe", "--expose-gc", "bin/democratic-csi" ]
ENTRYPOINT [ "bin/node.exe", "--expose-gc", "bin/democratic-csi" ]

View File

@ -298,7 +298,7 @@ class Mount {
return false;
}
const mount_info = await mount.getMountDetails(path);
const is_block = filesystem.isBlockDevice(path);
const is_block = await filesystem.isBlockDevice(path);
if (mount_info.fstype == "devtmpfs" && is_block) {
return true;
}