Merge "Fix 'tempest cleanup' for volume service client"
This commit is contained in:
commit
c96a318620
@ -141,7 +141,7 @@ class SnapshotService(BaseService):
|
|||||||
|
|
||||||
def __init__(self, manager, **kwargs):
|
def __init__(self, manager, **kwargs):
|
||||||
super(SnapshotService, self).__init__(kwargs)
|
super(SnapshotService, self).__init__(kwargs)
|
||||||
self.client = manager.snapshots_client
|
self.client = manager.snapshots_client_latest
|
||||||
|
|
||||||
def list(self):
|
def list(self):
|
||||||
client = self.client
|
client = self.client
|
||||||
@ -319,7 +319,7 @@ class FloatingIpService(BaseService):
|
|||||||
class VolumeService(BaseService):
|
class VolumeService(BaseService):
|
||||||
def __init__(self, manager, **kwargs):
|
def __init__(self, manager, **kwargs):
|
||||||
super(VolumeService, self).__init__(kwargs)
|
super(VolumeService, self).__init__(kwargs)
|
||||||
self.client = manager.volumes_client
|
self.client = manager.volumes_client_latest
|
||||||
|
|
||||||
def list(self):
|
def list(self):
|
||||||
client = self.client
|
client = self.client
|
||||||
@ -344,7 +344,7 @@ class VolumeService(BaseService):
|
|||||||
class VolumeQuotaService(BaseService):
|
class VolumeQuotaService(BaseService):
|
||||||
def __init__(self, manager, **kwargs):
|
def __init__(self, manager, **kwargs):
|
||||||
super(VolumeQuotaService, self).__init__(kwargs)
|
super(VolumeQuotaService, self).__init__(kwargs)
|
||||||
self.client = manager.volume_quotas_client
|
self.client = manager.volume_quotas_v2_client
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
client = self.client
|
client = self.client
|
||||||
|
Loading…
Reference in New Issue
Block a user