@@ -157,7 +157,7 @@ def get_volume_quotas(
157157 default : bool = False ,
158158) -> dict [str , Any ]:
159159 try :
160- client = app .client_manager .sdk_connection . volume
160+ client = app .client_manager .volume
161161 if default :
162162 quota = client .get_quota_set_defaults (project_id )
163163 else :
@@ -338,7 +338,7 @@ def _list_quota_volume(
338338 parsed_args : argparse .Namespace ,
339339 project_ids : list [str ],
340340 ) -> tuple [tuple [str , ...], Any ]:
341- volume_client = self .app .client_manager .sdk_connection . volume
341+ volume_client = self .app .client_manager .volume
342342 result = []
343343
344344 for project_id in project_ids :
@@ -613,7 +613,7 @@ def take_action(self, parsed_args: argparse.Namespace) -> None:
613613 compute_kwargs ['force' ] = parsed_args .force
614614
615615 if self .app .client_manager .is_volume_endpoint_enabled ():
616- volume_client = self .app .client_manager .sdk_connection . volume
616+ volume_client = self .app .client_manager .volume
617617
618618 for k , v in VOLUME_QUOTAS .items ():
619619 value = getattr (parsed_args , k , None )
@@ -949,7 +949,7 @@ def take_action(self, parsed_args: argparse.Namespace) -> None:
949949 parsed_args .service == 'all'
950950 and self .app .client_manager .is_volume_endpoint_enabled ()
951951 ):
952- volume_client = self .app .client_manager .sdk_connection . volume
952+ volume_client = self .app .client_manager .volume
953953 volume_client .revert_quota_set (project .id )
954954
955955 # network quotas (but only if we're not using nova-network, otherwise
0 commit comments