Pass owner_id to stack_get_by_name()

The heat.db.sqlalchemy.api supports this parameters, but heat.db.api did
not.

Change-Id: Ic805dcf6c8afdbe9e667c55d9c3b6864a76ce19a
This commit is contained in:
Zane Bitter 2013-08-24 01:05:47 +02:00
parent d63545118e
commit dc6940c8f6

View File

@ -113,8 +113,8 @@ def stack_get(context, stack_id, admin=False, show_deleted=False):
return IMPL.stack_get(context, stack_id, admin, show_deleted=show_deleted)
def stack_get_by_name(context, stack_name):
return IMPL.stack_get_by_name(context, stack_name)
def stack_get_by_name(context, stack_name, owner_id=None):
return IMPL.stack_get_by_name(context, stack_name, owner_id=owner_id)
def stack_get_all(context):