Skip to content

Commit a41e96b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Replace os-client-config"
2 parents e1408eb + 2240208 commit a41e96b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cloudkittyclient/shell.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import cliff.app
2020
from cliff.commandmanager import CommandManager
21-
import os_client_config
21+
from openstack import config as occ
2222
from oslo_log import log
2323

2424
from cloudkittyclient import client
@@ -90,7 +90,7 @@ def _get_api_version(self, args):
9090

9191
def __init__(self, args):
9292
self._args = args
93-
self.cloud_config = os_client_config.OpenStackConfig()
93+
self.cloud_config = occ.OpenStackConfig()
9494
super(CloudKittyShell, self).__init__(
9595
description='CloudKitty CLI client',
9696
version=utils.get_version(),
@@ -128,7 +128,7 @@ def build_option_parser(self, description, version):
128128
@property
129129
def client(self):
130130
if self._client is None:
131-
self.cloud = self.cloud_config.get_one_cloud(
131+
self.cloud = self.cloud_config.get_one(
132132
argparse=self.options)
133133
session = self.cloud.get_session()
134134
adapter_options = dict(

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ oslo.utils>=4.7.0 # Apache-2.0
99
oslo.log>=4.4.0 # Apache-2.0
1010
PyYAML>=5.3.1 # MIT
1111
jsonpath-rw-ext>=1.2.0 # Apache-2.0
12-
os-client-config>=2.1.0 # Apache-2.0
12+
openstacksdk>=0.10.0 # Apache-2.0
1313
osc-lib>=2.3.0 # Apache-2.0

0 commit comments

Comments
 (0)