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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user