summaryrefslogtreecommitdiff
path: root/nova/db
diff options
context:
space:
mode:
authorHe Jie Xu <hejie.xu@intel.com>2015-07-31 10:56:42 +0800
committerHe Jie Xu <hejie.xu@intel.com>2015-07-31 10:56:42 +0800
commitdb401eaf1b7a9a047013a3aea2ec39dccb2e13c8 (patch)
tree9a5884d34b54582ddb99569b666bcb5845b9ac06 /nova/db
parenta8dd5722035784847fd7f7a915628d5feaaf5ff9 (diff)
downloadnova-db401eaf1b7a9a047013a3aea2ec39dccb2e13c8.tar.gz
Remove db layer hard-code permission checks for instance_get_all_hung_in_rebooting
'instance_get_all_hung_in_rebooting' isn't invoked by any code anymore. It will be removed after object major version bump. This patch just remove the useless hard-code permission checks decorator. Partially implements bp nova-api-policy-final-part Change-Id: Ife710727b9df8b040b831efff3c4d24d2ec3df78
Diffstat (limited to 'nova/db')
-rw-r--r--nova/db/sqlalchemy/api.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py
index 2281920b72..bb6205801a 100644
--- a/nova/db/sqlalchemy/api.py
+++ b/nova/db/sqlalchemy/api.py
@@ -2408,7 +2408,6 @@ def instance_floating_address_get_all(context, instance_uuid):
# NOTE(hanlind): This method can be removed as conductor RPC API moves to v2.0.
-@require_admin_context
def instance_get_all_hung_in_rebooting(context, reboot_window):
reboot_window = (timeutils.utcnow() -
datetime.timedelta(seconds=reboot_window))