Remove initilization of auth and session attrs in some drivers

Remove the initialization of 'auth' and 'session' attributes in some
Senlin drivers since these two attributes are useless when invoking
sdk's function call.

TODO:
 - Replace all usage of resource call in driver with function call
   if sdk has provided related interface in proxy layer.

Change-Id: I5643df7b7fdfb1eefd7863c5fa0ca47f83dbc102
This commit is contained in:
yanyanhu
2015-07-14 23:08:05 -04:00
parent a4580f718e
commit b787cac00a
4 changed files with 0 additions and 5 deletions

View File

@@ -19,7 +19,6 @@ class HeatClient(base.DriverBase):
def __init__(self, context):
self.conn = sdk.create_connection(context)
self.session = self.conn.session
def stack_create(self, **params):
try: