periodic_task should pop raise_on_error parameter so that it will not go to task function

Bug #1081428 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Medium
yong sheng gong
Grizzly
Fix Released
Medium
yong sheng gong

Bug Description

def run_periodic_tasks(self, *args, **kwargs):
        """Tasks to be run at a periodic interval."""
        raise_on_error = kwargs.get('raise_on_error', False)

It should be kwargs.pop('raise_on_error', False)

Changed in oslo:
assignee: nobody → yong sheng gong (gongysh)
Changed in oslo:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
Changed in oslo:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in oslo:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
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.