update csiName variable reference
This commit is contained in:
		
							parent
							
								
									6315f29437
								
							
						
					
					
						commit
						18ea054a8c
					
				|  | @ -143,7 +143,7 @@ class FreeNASDriver extends ControllerZfsSshBaseDriver { | ||||||
|                 case 1: |                 case 1: | ||||||
|                   share = { |                   share = { | ||||||
|                     nfs_paths: [properties.mountpoint.value], |                     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( |                     nfs_network: this.options.nfs.shareAllowedNetworks.join( | ||||||
|                       "," |                       "," | ||||||
|                     ), |                     ), | ||||||
|  | @ -161,7 +161,7 @@ class FreeNASDriver extends ControllerZfsSshBaseDriver { | ||||||
|                 case 2: |                 case 2: | ||||||
|                   share = { |                   share = { | ||||||
|                     paths: [properties.mountpoint.value], |                     paths: [properties.mountpoint.value], | ||||||
|                     comment: `democratic-csi (${this.options.csiName}): ${datasetName}`, |                     comment: `democratic-csi (${this.ctx.args.csiName}): ${datasetName}`, | ||||||
|                     networks: this.options.nfs.shareAllowedNetworks, |                     networks: this.options.nfs.shareAllowedNetworks, | ||||||
|                     hosts: this.options.nfs.shareAllowedHosts, |                     hosts: this.options.nfs.shareAllowedHosts, | ||||||
|                     alldirs: this.options.nfs.shareAlldirs, |                     alldirs: this.options.nfs.shareAlldirs, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue