Fix the right import
Change-Id: Ia74056fddf413f1f2ee03fa9df6431a25b0bca28 Closes-Bug: #1472841
This commit is contained in:
@@ -26,7 +26,7 @@ and pass the version number:
|
|||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
from os import environ as env
|
from os import environ as env
|
||||||
import novaclient
|
import novaclient.client
|
||||||
nova = novaclient.client.Client("1.1", auth_url=env['OS_AUTH_URL'],
|
nova = novaclient.client.Client("1.1", auth_url=env['OS_AUTH_URL'],
|
||||||
username=env['OS_USERNAME'],
|
username=env['OS_USERNAME'],
|
||||||
api_key=env['OS_PASSWORD'],
|
api_key=env['OS_PASSWORD'],
|
||||||
|
Reference in New Issue
Block a user