Skip to content

Commit

Permalink
Adds missing joinedload for vif loading.
Browse files Browse the repository at this point in the history
 * fixes bug 905398

Change-Id: I76ffea1437459942f5156d199592931afed4ae1b
  • Loading branch information
vishvananda committed Dec 16, 2011
1 parent 9b9b6d3 commit 2f76cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/db/sqlalchemy/api.py
Expand Up @@ -947,7 +947,7 @@ def virtual_interface_update(context, vif_id, values):
def _virtual_interface_query(context, session=None):
return model_query(context, models.VirtualInterface, session=session,
read_deleted="yes").\
options(joinedload('fixed_ips'))
options(joinedload_all('fixed_ips.floating_ips'))


@require_context
Expand Down

0 comments on commit 2f76cd5

Please sign in to comment.