Merge "Fix 500 in test_resize_server_negative_invalid_state"

This commit is contained in:
Zuul 2018-02-08 15:17:11 +00:00 committed by Gerrit Code Review
commit b71e9f3700

View File

@ -5792,6 +5792,7 @@ def _action_get_by_request_id(context, instance_uuid, request_id):
result = model_query(context, models.InstanceAction).\
filter_by(instance_uuid=instance_uuid).\
filter_by(request_id=request_id).\
order_by(desc("created_at"), desc("id")).\
first()
return result