Fix spelling miss of password_func variable
In novaclient/shell.py there is a variable called 'password_fun' which isn't used anywhere. In fact it's a spelling miss, and should be modified to 'password_func' which is used in novaclient/client.py This patch fixes this bug. Change-Id: Ibb8e95a2efc77575dcc8544584c708c5c62b7dea
This commit is contained in:
parent
f6fdff657f
commit
8edc9b6a6a
|
@ -669,7 +669,7 @@ class OpenStackComputeShell(object):
|
|||
self.cs.client.tenant_id = tenant_id
|
||||
self.cs.client.auth_token = auth_token
|
||||
self.cs.client.management_url = management_url
|
||||
self.cs.client.password_fun = lambda: helper.password
|
||||
self.cs.client.password_func = lambda: helper.password
|
||||
elif use_pw:
|
||||
# We're missing something, so auth with user/pass and save
|
||||
# the result in our helper.
|
||||
|
|
Loading…
Reference in New Issue