Skip to content

Commit

Permalink
fix: update function comment to match new behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
danxmoran committed Nov 9, 2020
1 parent 87cfeb4 commit 44c1d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authorizer/authorize_find.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44c1d4a

Please sign in to comment.