summaryrefslogtreecommitdiff
path: root/novaclient/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'novaclient/client.py')
-rw-r--r--novaclient/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/novaclient/client.py b/novaclient/client.py
index a44ade0..200d75c 100644
--- a/novaclient/client.py
+++ b/novaclient/client.py
@@ -773,9 +773,9 @@ def _construct_http_client(username=None, password=None, project_id=None,
773 773
774def get_client_class(version): 774def get_client_class(version):
775 version_map = { 775 version_map = {
776 '1.1': 'novaclient.v1_1.client.Client', 776 '1.1': 'novaclient.v2.client.Client',
777 '2': 'novaclient.v1_1.client.Client', 777 '2': 'novaclient.v2.client.Client',
778 '3': 'novaclient.v1_1.client.Client', 778 '3': 'novaclient.v2.client.Client',
779 } 779 }
780 try: 780 try:
781 client_path = version_map[str(version)] 781 client_path = version_map[str(version)]