Fix for bug 2724591

Change-Id: I6673eed4f6933f749fb8e0496c4ab03396d1e75e
This commit is contained in:
Shubham Kadam 2021-02-25 06:14:09 +00:00
parent 4870aee2a1
commit cf22adca2c

View File

@ -80,8 +80,7 @@ class ScenarioTest(tempest.test.BaseTestCase):
cls.security_group_rules_client = (
cls.os_primary.security_group_rules_client)
if (CONF.volume_feature_enabled.api_v2 or
CONF.volume_feature_enabled.api_v3):
if CONF.volume_feature_enabled:
cls.volumes_client = cls.os_primary.volumes_client_latest
cls.snapshots_client = cls.os_primary.snapshots_client_latest