← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1452522] [NEW] nova-api: remove unuseful expect error in v2.1 service delete method

 

Public bug reported:

in nova/api/openstack/compute/plugins/v3/services.py
we found : 
    @extensions.expected_errors((400, 404))
     def delete(self, req, id):

by checking code, there isn't any badrequest exception raising,
we need to remove 400 from expected code.

** Affects: nova
     Importance: Undecided
     Assignee: Eli Qiao (taget-9)
         Status: New


** Tags: api

** Changed in: nova
     Assignee: (unassigned) => Eli Qiao (taget-9)

** Tags added: api

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1452522

Title:
  nova-api: remove unuseful expect error in v2.1 service delete method

Status in OpenStack Compute (Nova):
  New

Bug description:
  in nova/api/openstack/compute/plugins/v3/services.py
  we found : 
      @extensions.expected_errors((400, 404))
       def delete(self, req, id):

  by checking code, there isn't any badrequest exception raising,
  we need to remove 400 from expected code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1452522/+subscriptions


Follow ups

References