diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2016-06-23 17:51:54 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2016-08-05 13:48:55 -0500 |
| commit | 6a15f90daed6514e30b4af0ebb52c7864acaafcc (patch) | |
| tree | d42939bc69a82362ba1020be833a8bc97ba7ea7d /openstackclient/compute/client.py | |
| parent | a42664ccaa9860c34fcd91cb4c3dbdf6805b3eb0 (diff) | |
| download | python-openstackclient-6a15f90daed6514e30b4af0ebb52c7864acaafcc.tar.gz | |
osc-lib: shell
Convert to using ClientManager and OpenStackShell from osc-lib.
* Change all internal uses of ClientManager private attributes that are
now public in osc-lib's ClientManager. Leave back-compat copies in
place in OSC's clientManager so we don't break plugins.
* Put some work-arounds in place for changes in osc-lib that we need until
a new release makes it through the g-r and u-c change process.
* Add a test for Unicode decoding of argv in shell.main() to parallel
the one in osc-lib.
Change-Id: I85289740d4ca081f2aca8c9b40ec422ad25d302c
Diffstat (limited to 'openstackclient/compute/client.py')
| -rw-r--r-- | openstackclient/compute/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py index 1583676a..4cc3be98 100644 --- a/openstackclient/compute/client.py +++ b/openstackclient/compute/client.py @@ -64,7 +64,7 @@ def make_client(instance): if ext.name == "list_extensions"] # Remember interface only if it is set - kwargs = utils.build_kwargs_dict('endpoint_type', instance._interface) + kwargs = utils.build_kwargs_dict('endpoint_type', instance.interface) client = nova_client.Client( version, @@ -72,7 +72,7 @@ def make_client(instance): extensions=extensions, http_log_debug=http_log_debug, timings=instance.timing, - region_name=instance._region_name, + region_name=instance.region_name, **kwargs ) |
