minor fixes
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
47d18084ba
commit
fc581fa6d0
|
|
@ -129,7 +129,8 @@ jobs:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- Linux
|
- Linux
|
||||||
- X64
|
- X64
|
||||||
- csi-sanity-truenas
|
#- csi-sanity-truenas
|
||||||
|
- csi-sanity-zfs-generic
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
|
|
@ -162,7 +163,8 @@ jobs:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- Linux
|
- Linux
|
||||||
- X64
|
- X64
|
||||||
- csi-sanity-truenas
|
#- csi-sanity-truenas
|
||||||
|
- csi-sanity-zfs-generic
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
|
|
@ -194,7 +196,8 @@ jobs:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- Linux
|
- Linux
|
||||||
- X64
|
- X64
|
||||||
- csi-sanity-truenas
|
#- csi-sanity-truenas
|
||||||
|
- csi-sanity-zfs-generic
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,6 @@ COPY --from=build /app /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# this works for both host-process and non-host-process container semantics
|
# 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 [ "bin/node.exe", "--expose-gc", "bin/democratic-csi" ]
|
||||||
ENTRYPOINT [ "node.exe", "--expose-gc", "bin/democratic-csi" ]
|
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,7 @@ class Mount {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const mount_info = await mount.getMountDetails(path);
|
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) {
|
if (mount_info.fstype == "devtmpfs" && is_block) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue