Skip to content

Commit

Permalink
Remove stale comment from ARL example (#37321)
Browse files Browse the repository at this point in the history
ExampleAccessRestrictionProvider.h had a comment referring to an
event from a development iteration that was incorrect.

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
tleacmcsa and andy31415 authored Feb 7, 2025
1 parent 8deebeb commit b536bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platform/linux/ExampleAccessRestrictionProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ExampleAccessRestrictionProvider : public AccessRestrictionProvider
protected:
CHIP_ERROR DoRequestFabricRestrictionReview(const FabricIndex fabricIndex, uint64_t token, const std::vector<Entry> & arl)
{
// this example simply removes all restrictions and will generate AccessRestrictionEntryChanged events
// this example simply removes all restrictions when a review command is received
Access::GetAccessControl().GetAccessRestrictionProvider()->SetEntries(fabricIndex, std::vector<Entry>{});

chip::app::Clusters::AccessControl::Events::FabricRestrictionReviewUpdate::Type event{ .token = token,
Expand Down

0 comments on commit b536bc1

Please sign in to comment.