From 44c1d4a6beaa21950bd656cf90d3d80079ad5a6d Mon Sep 17 00:00:00 2001 From: Dan Moran Date: Mon, 9 Nov 2020 17:03:35 -0500 Subject: [PATCH] fix: update function comment to match new behavior --- authorizer/authorize_find.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorizer/authorize_find.go b/authorizer/authorize_find.go index 07a3544e98f..9fa9fe23cc0 100644 --- a/authorizer/authorize_find.go +++ b/authorizer/authorize_find.go @@ -6,7 +6,7 @@ import ( "github.com/influxdata/influxdb/v2" ) -// AuthorizeFindDBRPs takes the given items and returns only the ones that the user is authorized to read. +// AuthorizeFindDBRPs takes the given items and returns only the ones that the user is authorized to access. func AuthorizeFindDBRPs(ctx context.Context, rs []*influxdb.DBRPMappingV2) ([]*influxdb.DBRPMappingV2, int, error) { // This filters without allocating // https://github.com/golang/go/wiki/SliceTricks#filtering-without-allocating