From 2f8ffcc46db933ba27e14835c4448320bee5daa0 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 12 Dec 2012 13:14:56 -0800 Subject: Move agent_build_get_by_triple to conductor This patch moves the final method in Compute's VirtAPI to using the conductor. Related to blueprint no-db-compute-manager Change-Id: Icaf8990e117c8de7198de2f26f0d77e56c129430 --- nova/compute/manager.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 66e605477..6efc83fb9 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -292,10 +292,8 @@ class ComputeVirtAPI(virtapi.VirtAPI): return self._compute.conductor_api.provider_fw_rule_get_all(context) def agent_build_get_by_triple(self, context, hypervisor, os, architecture): - return self._compute.db.agent_build_get_by_triple(context, - hypervisor, - os, - architecture) + return self._compute.conductor_api.agent_build_get_by_triple( + context, hypervisor, os, architecture) class ComputeManager(manager.SchedulerDependentManager): -- cgit