delete_subnet in ml2 plugin makes 2 calls to get the subnet

Bug #1366056 reported by Rossella Sblendido
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Sam Betts

Bug Description

tags: added: low-hanging-fruit
Sam Betts (sambetts)
Changed in neutron:
assignee: nobody → Sam Betts (sambetts)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119399

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/119399
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6fffe3bf841667e9a303351cf6dc05e6643b9291
Submitter: Jenkins
Branch: master

commit 6fffe3bf841667e9a303351cf6dc05e6643b9291
Author: Sam Betts <email address hidden>
Date: Fri Sep 5 16:16:01 2014 +0100

    Remove second call to get_subnets in delete_subnet

    delete_subnet made calls to both get_subnet and _get_subnet,
    get_subnet uses _get_subnet so multiple database requests were being
    made, this patch removes the call to get_subnet and directly calls
    _make_subnet_dict using the result of _get_subnet

    Change-Id: I9982821dbb9447e35a4b6e50bc5ad31cec417ca5
    Closes-Bug: 1366056

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.