Merge pull request #71 from democratic-csi/next

fix session parsing for hostname based portals
This commit is contained in:
Travis Glenn Hansen 2021-04-12 11:30:13 -06:00 committed by GitHub
commit a8d449058c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 829 additions and 727 deletions

View File

@ -1,3 +1,10 @@
# v1.1.2
Released 2021-04-12
- fix for hostname based portals
- dependency bumps
# v1.1.1
Released 2021-04-12

1543
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "democratic-csi",
"version": "1.1.1",
"version": "1.1.2",
"description": "kubernetes csi driver framework",
"main": "bin/democratic-csi",
"scripts": {
@ -18,7 +18,7 @@
"url": "https://github.com/democratic-csi/democratic-csi.git"
},
"dependencies": {
"@grpc/proto-loader": "^0.5.6",
"@grpc/proto-loader": "^0.6.0",
"bunyan": "^1.8.15",
"grpc-uds": "^0.1.6",
"handlebars": "^4.7.7",

View File

@ -200,7 +200,7 @@ class ISCSI {
sessions.push({
protocol: entry.split(":")[0],
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],
iqn: fields[3].split(":")[0],
target: fields[3].split(":")[1],