fix NameError
diff --git a/plstackapi/planetstack/api/roles.py b/plstackapi/planetstack/api/roles.py
index 12a21b8..5d1bfaf 100644
--- a/plstackapi/planetstack/api/roles.py
+++ b/plstackapi/planetstack/api/roles.py
@@ -4,9 +4,9 @@
def auth_check(auth):
- client = OpenStackShell(username=auth['Username'],
- password=auth['AuthMethod'],
- tenant=auth['LoginBase'])
+ client = OpenStackDriver(username=auth['Username'],
+ password=auth['AuthMethod'],
+ tenant=auth['LoginBase'])
client.authenticate()
return client