From dc6940c8f6bd76212285d04b1bd9ac7bc76d880c Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Sat, 24 Aug 2013 01:05:47 +0200 Subject: [PATCH] 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 --- heat/db/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heat/db/api.py b/heat/db/api.py index 64f42df10..c815a805b 100644 --- a/heat/db/api.py +++ b/heat/db/api.py @@ -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):