@@ -391,7 +391,7 @@ func (db *DB) ListSessionActions(sessionID session.ID,
391391// pass the filterFn requirements.
392392//
393393// TODO: update to allow for pagination.
394- func (db * DB ) ListGroupActions (groupID session.ID ,
394+ func (db * DB ) ListGroupActions (_ context. Context , groupID session.ID ,
395395 filterFn ListActionsFilterFn ) ([]* Action , error ) {
396396
397397 if filterFn == nil {
@@ -629,11 +629,11 @@ type groupActionsReadDB struct {
629629var _ ActionsDB = (* groupActionsReadDB )(nil )
630630
631631// ListActions will return all the Actions for a particular group.
632- func (s * groupActionsReadDB ) ListActions (_ context.Context ) ([]* RuleAction ,
632+ func (s * groupActionsReadDB ) ListActions (ctx context.Context ) ([]* RuleAction ,
633633 error ) {
634634
635635 sessionActions , err := s .db .ListGroupActions (
636- s .groupID , func (a * Action , _ bool ) (bool , bool ) {
636+ ctx , s .groupID , func (a * Action , _ bool ) (bool , bool ) {
637637 return a .State == ActionStateDone , true
638638 },
639639 )
@@ -660,11 +660,11 @@ var _ ActionsDB = (*groupFeatureActionsReadDB)(nil)
660660
661661// ListActions will return all the Actions for a particular group that were
662662// executed by a particular feature.
663- func (a * groupFeatureActionsReadDB ) ListActions (_ context.Context ) (
663+ func (a * groupFeatureActionsReadDB ) ListActions (ctx context.Context ) (
664664 []* RuleAction , error ) {
665665
666666 featureActions , err := a .db .ListGroupActions (
667- a .groupID , func (action * Action , _ bool ) (bool , bool ) {
667+ ctx , a .groupID , func (action * Action , _ bool ) (bool , bool ) {
668668 return action .State == ActionStateDone &&
669669 action .FeatureName == a .featureName , true
670670 },
0 commit comments