diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-12-12 13:14:56 -0800 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-12-15 08:19:57 -0800 |
| commit | 2f8ffcc46db933ba27e14835c4448320bee5daa0 (patch) | |
| tree | ef9cbad5a37abddb5ad406434b51a9a8ca08a505 /nova/compute | |
| parent | 20f0c601fe5bd59c2a2f07a8be428ddca995afc5 (diff) | |
| download | nova-2f8ffcc46db933ba27e14835c4448320bee5daa0.tar.gz nova-2f8ffcc46db933ba27e14835c4448320bee5daa0.tar.xz nova-2f8ffcc46db933ba27e14835c4448320bee5daa0.zip | |
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
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/manager.py | 6 |
1 files changed, 2 insertions, 4 deletions
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): |
