fix objectivefs mount options
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
784ce31922
commit
d70b45b909
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -52,7 +52,10 @@ class ObjectiveFS {
|
|||
}
|
||||
const objectivefs = this;
|
||||
let args = [];
|
||||
args = args.concat(options);
|
||||
if (options.length > 0) {
|
||||
// TODO: maybe do -o <opt> -o <opt>?
|
||||
args = args.concat(["-o", options.join(",")]);
|
||||
}
|
||||
args = args.concat([filesystem, target]);
|
||||
|
||||
let result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue