From b44f5996bde0af9b5a86788dcc2cd7fb1d29e7c3 Mon Sep 17 00:00:00 2001 From: Christophe Sauthier Date: Tue, 14 Jul 2015 21:56:48 +0200 Subject: [PATCH] Fix the right import Change-Id: Ia74056fddf413f1f2ee03fa9df6431a25b0bca28 Closes-Bug: #1472841 --- .../source/sdk_authenticate_against_compute_endpoint.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user-guide/source/sdk_authenticate_against_compute_endpoint.rst b/doc/user-guide/source/sdk_authenticate_against_compute_endpoint.rst index d5d3500065..c2236e5b16 100644 --- a/doc/user-guide/source/sdk_authenticate_against_compute_endpoint.rst +++ b/doc/user-guide/source/sdk_authenticate_against_compute_endpoint.rst @@ -26,7 +26,7 @@ and pass the version number: :linenos: from os import environ as env - import novaclient + import novaclient.client nova = novaclient.client.Client("1.1", auth_url=env['OS_AUTH_URL'], username=env['OS_USERNAME'], api_key=env['OS_PASSWORD'],