Merge pull request #71 from democratic-csi/next
fix session parsing for hostname based portals
This commit is contained in:
		
						commit
						a8d449058c
					
				|  | @ -1,3 +1,10 @@ | ||||||
|  | # v1.1.2 | ||||||
|  | 
 | ||||||
|  | Released 2021-04-12 | ||||||
|  | 
 | ||||||
|  | - fix for hostname based portals | ||||||
|  | - dependency bumps | ||||||
|  | 
 | ||||||
| # v1.1.1 | # v1.1.1 | ||||||
| 
 | 
 | ||||||
| Released 2021-04-12 | Released 2021-04-12 | ||||||
|  |  | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -1,6 +1,6 @@ | ||||||
| { | { | ||||||
|   "name": "democratic-csi", |   "name": "democratic-csi", | ||||||
|   "version": "1.1.1", |   "version": "1.1.2", | ||||||
|   "description": "kubernetes csi driver framework", |   "description": "kubernetes csi driver framework", | ||||||
|   "main": "bin/democratic-csi", |   "main": "bin/democratic-csi", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|  | @ -18,7 +18,7 @@ | ||||||
|     "url": "https://github.com/democratic-csi/democratic-csi.git" |     "url": "https://github.com/democratic-csi/democratic-csi.git" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@grpc/proto-loader": "^0.5.6", |     "@grpc/proto-loader": "^0.6.0", | ||||||
|     "bunyan": "^1.8.15", |     "bunyan": "^1.8.15", | ||||||
|     "grpc-uds": "^0.1.6", |     "grpc-uds": "^0.1.6", | ||||||
|     "handlebars": "^4.7.7", |     "handlebars": "^4.7.7", | ||||||
|  |  | ||||||
|  | @ -200,7 +200,7 @@ class ISCSI { | ||||||
|           sessions.push({ |           sessions.push({ | ||||||
|             protocol: entry.split(":")[0], |             protocol: entry.split(":")[0], | ||||||
|             id: Number(fields[1].replace("[", "").replace("]", "")), |             id: Number(fields[1].replace("[", "").replace("]", "")), | ||||||
|             portal: fields[2].split(",")[0], |             portal: fields[2].replace("[", "").replace("]", "").split(",")[0], | ||||||
|             target_portal_group_tag: fields[2].split(",")[1], |             target_portal_group_tag: fields[2].split(",")[1], | ||||||
|             iqn: fields[3].split(":")[0], |             iqn: fields[3].split(":")[0], | ||||||
|             target: fields[3].split(":")[1], |             target: fields[3].split(":")[1], | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue