From 7fb83a668d73b53e84d8994a802b1e6b14ecde32 Mon Sep 17 00:00:00 2001 From: Samuel de Medeiros Queiroz Date: Thu, 24 Aug 2017 06:33:45 -0300 Subject: [PATCH] Switch to _is_client_version in list_services Change-Id: Ie7e77c4a766d01557222decdab48fb206086e57f --- shade/operatorcloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shade/operatorcloud.py b/shade/operatorcloud.py index b4e365384..8fec1b313 100644 --- a/shade/operatorcloud.py +++ b/shade/operatorcloud.py @@ -807,7 +807,7 @@ class OperatorCloud(openstackcloud.OpenStackCloud): :raises: ``OpenStackCloudException`` if something goes wrong during the openstack API call. """ - if self.cloud_config.get_api_version('identity').startswith('2'): + if self._is_client_version('identity', 2): url, key = '/OS-KSADM/services', 'OS-KSADM:services' else: url, key = '/services', 'services'