diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a707517..e412711 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -120,6 +120,7 @@ jobs: - build-npm-linux-amd64 strategy: fail-fast: false + max-parallel: 1 matrix: config: - truenas/scale/24.04/scale-iscsi.yaml @@ -153,6 +154,7 @@ jobs: - build-npm-linux-amd64 strategy: fail-fast: false + max-parallel: 1 matrix: config: - truenas/core/13.0/core-iscsi.yaml @@ -186,6 +188,7 @@ jobs: - build-npm-linux-amd64 strategy: fail-fast: false + max-parallel: 1 matrix: config: - zfs-generic/iscsi.yaml diff --git a/src/utils/objectivefs.js b/src/utils/objectivefs.js index 15387a8..6751a3c 100644 --- a/src/utils/objectivefs.js +++ b/src/utils/objectivefs.js @@ -52,7 +52,10 @@ class ObjectiveFS { } const objectivefs = this; let args = []; - args = args.concat(options); + if (options.length > 0) { + // TODO: maybe do -o -o ? + args = args.concat(["-o", options.join(",")]); + } args = args.concat([filesystem, target]); let result;