Skip to content

Commit 19e55a5

Browse files
authored
Merge pull request #77 from huangpeng5/25_2_0
25.2.0 release
2 parents f551e4e + 4a0ff84 commit 19e55a5

File tree

110 files changed

+287
-12526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+287
-12526
lines changed

Cinder/Antelope/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Version: 2.7.4"""
1+
"""Version: 25.2.0"""

Cinder/Antelope/huawei_base_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555

5656
class HuaweiBaseDriver(object):
57-
VERSION = "2.7.4"
57+
VERSION = "25.2.0"
5858

5959
def __init__(self, *args, **kwargs):
6060
super(HuaweiBaseDriver, self).__init__(*args, **kwargs)

Cinder/Antelope/huawei_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,11 @@ def mask_initiator_array_sensitive_info(data, sensitive_keys):
134134
def mask_initiator_string_sensitive_info(data):
135135
"""Mask iscsi/fc/nvme ini sensitive info with a string type data"""
136136
secret_str = "******"
137-
if len(data) <= 6:
138-
return secret_str
137+
try:
138+
if not data or len(str(data)) <= 6:
139+
return secret_str
140+
except Exception as err:
141+
LOG.warning("Mask string sensitive info failed, reason is %s", err)
139142

140143
out_str = data[0:3] + secret_str + data[-3::]
141144
return out_str

Cinder/Bobcat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Version: 2.7.4"""
1+
"""Version: 25.2.0"""

Cinder/Bobcat/huawei_base_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555

5656
class HuaweiBaseDriver(object):
57-
VERSION = "2.7.4"
57+
VERSION = "25.2.0"
5858

5959
def __init__(self, *args, **kwargs):
6060
super(HuaweiBaseDriver, self).__init__(*args, **kwargs)

Cinder/Bobcat/huawei_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,11 @@ def mask_initiator_array_sensitive_info(data, sensitive_keys):
134134
def mask_initiator_string_sensitive_info(data):
135135
"""Mask iscsi/fc/nvme ini sensitive info with a string type data"""
136136
secret_str = "******"
137-
if len(data) <= 6:
138-
return secret_str
137+
try:
138+
if not data or len(str(data)) <= 6:
139+
return secret_str
140+
except Exception as err:
141+
LOG.warning("Mask string sensitive info failed, reason is %s", err)
139142

140143
out_str = data[0:3] + secret_str + data[-3::]
141144
return out_str

Cinder/Caracal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Version: 2.7.4"""
1+
"""Version: 25.2.0"""

Cinder/Caracal/huawei_base_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555

5656
class HuaweiBaseDriver(object):
57-
VERSION = "2.7.4"
57+
VERSION = "25.2.0"
5858

5959
def __init__(self, *args, **kwargs):
6060
super(HuaweiBaseDriver, self).__init__(*args, **kwargs)

Cinder/Caracal/huawei_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,11 @@ def mask_initiator_array_sensitive_info(data, sensitive_keys):
134134
def mask_initiator_string_sensitive_info(data):
135135
"""Mask iscsi/fc/nvme ini sensitive info with a string type data"""
136136
secret_str = "******"
137-
if len(data) <= 6:
138-
return secret_str
137+
try:
138+
if not data or len(str(data)) <= 6:
139+
return secret_str
140+
except Exception as err:
141+
LOG.warning("Mask string sensitive info failed, reason is %s", err)
139142

140143
out_str = data[0:3] + secret_str + data[-3::]
141144
return out_str

Cinder/Dalmatian/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Version: 2.7.4"""
1+
"""Version: 25.2.0"""

0 commit comments

Comments
 (0)