← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1311793] [NEW] wrap_instance_event() swallows return codes

 

Public bug reported:

 In compute/manager.py the function wrap_instance_event() just calls
function().

This means that if it's used to decorate a function that returns a
value, then the caller will never see the return code.

** Affects: nova
     Importance: Undecided
     Assignee: Chris Friesen (cbf123)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Chris Friesen (cbf123)

-- 
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/1311793

Title:
  wrap_instance_event() swallows return codes

Status in OpenStack Compute (Nova):
  New

Bug description:
   In compute/manager.py the function wrap_instance_event() just calls
  function().

  This means that if it's used to decorate a function that returns a
  value, then the caller will never see the return code.

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


Follow ups

References