Make callbacks required for enforcement

Bug #1790954 reported by Lance Bragstad on 2018-09-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vishakha Agarwal

Bug Description

Currently, the Enforcer objects can be instantiated with optional callbacks [0], although it doesn't really make sense to never supply a callback.

If the purpose of oslo.limit is to calculate usage and enforce it against a limit, the callback will always be required. We should remove this as an optional parameter.


description: updated
summary: - Make callbacks a required for enforcement
+ Make callbacks required for enforcement
Changed in oslo.limit:
status: New → Triaged
importance: Undecided → Medium
Changed in oslo.limit:
assignee: nobody → Vishakha Agarwal (vishakha.agarwal)

Fix proposed to branch: master

Changed in oslo.limit:
status: Triaged → In Progress

Change abandoned by Vishakha Agarwal (<email address hidden>) on branch: master
Reason: The bug is already Fixed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers