Skip to content

Commit d69f0f3

Browse files
tleacmcsaandy31415
authored andcommitted
Remove stale comment from ARL example (project-chip#37321)
ExampleAccessRestrictionProvider.h had a comment referring to an event from a development iteration that was incorrect. Co-authored-by: Andrei Litvin <andy314@gmail.com>
1 parent e594e4a commit d69f0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/platform/linux/ExampleAccessRestrictionProvider.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ExampleAccessRestrictionProvider : public AccessRestrictionProvider
3939
protected:
4040
CHIP_ERROR DoRequestFabricRestrictionReview(const FabricIndex fabricIndex, uint64_t token, const std::vector<Entry> & arl)
4141
{
42-
// this example simply removes all restrictions and will generate AccessRestrictionEntryChanged events
42+
// this example simply removes all restrictions when a review command is received
4343
Access::GetAccessControl().GetAccessRestrictionProvider()->SetEntries(fabricIndex, std::vector<Entry>{});
4444

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

0 commit comments

Comments
 (0)