diff options
author | Sergey Skripnick <sskripnick@mirantis.com> | 2013-05-20 12:03:19 +0300 |
---|---|---|
committer | Sergey Skripnick <sskripnick@mirantis.com> | 2013-05-22 09:31:27 +0300 |
commit | da2638b0e04f77e10b54ca4622e863319896aa53 (patch) | |
tree | 591520a90d621518d2ee3b38f3f2f1f7a377a589 /nova/utils.py | |
parent | 09cfefcdc977e1fff23c08cb3e1572ff48120bfa (diff) | |
download | nova-da2638b0e04f77e10b54ca4622e863319896aa53.tar.gz nova-da2638b0e04f77e10b54ca4622e863319896aa53.tar.xz nova-da2638b0e04f77e10b54ca4622e863319896aa53.zip |
Raise AgentBuildNotFound on updating/destroying deleted object
Methods below should raise an exception when attempting to operate
with deleted AgentBuild objects:
nova.db.sqlalchemy.api.agent_build_destroy()
nova.db.sqlalchemy.api.agent_build_update()
Fixes: bug 1181967
Change-Id: If6df202afb7ea41634c35f7a52988e19677f4d65
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions