From 18ea054a8c703ee5be0495b13f4c9d64586613f8 Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Mon, 25 Nov 2019 12:55:02 -0700 Subject: [PATCH] update csiName variable reference --- src/driver/freenas/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/freenas/index.js b/src/driver/freenas/index.js index d2635d5..491b334 100644 --- a/src/driver/freenas/index.js +++ b/src/driver/freenas/index.js @@ -143,7 +143,7 @@ class FreeNASDriver extends ControllerZfsSshBaseDriver { case 1: share = { nfs_paths: [properties.mountpoint.value], - nfs_comment: `democratic-csi (${this.options.csiName}): ${datasetName}`, + nfs_comment: `democratic-csi (${this.ctx.args.csiName}): ${datasetName}`, nfs_network: this.options.nfs.shareAllowedNetworks.join( "," ), @@ -161,7 +161,7 @@ class FreeNASDriver extends ControllerZfsSshBaseDriver { case 2: share = { paths: [properties.mountpoint.value], - comment: `democratic-csi (${this.options.csiName}): ${datasetName}`, + comment: `democratic-csi (${this.ctx.args.csiName}): ${datasetName}`, networks: this.options.nfs.shareAllowedNetworks, hosts: this.options.nfs.shareAllowedHosts, alldirs: this.options.nfs.shareAlldirs,