Use _handle_not_found_exception in neutron resources

Bug #1267729 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Sergey Kraynev

Bug Description

Currently base class NeutronResource in neutron.py has function _handle_not_found_exception.

In other child neutron resources we have duplicate code of current function.
So, I offer use existed function in these places.

Changed in heat:
assignee: nobody → Sergey Kraynev (skraynev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

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

Reviewed: https://review.openstack.org/65888
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=37200ba7fe857d37ff06080d9785f303abb403c1
Submitter: Jenkins
Branch: master

commit 37200ba7fe857d37ff06080d9785f303abb403c1
Author: Sergey Kraynev <email address hidden>
Date: Fri Jan 10 03:04:07 2014 -0500

    Using _handle_not_found_exception in resources

    This patch replace duplicate code in neutron resources on
    function _handle_not_found_exception defined in parent class.

    Change-Id: I7f86f52a8d00590c83aad01bc26507c78f01ddbb
    Closes-bug: #1267729

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-2 → 2014.1
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.