Skip to content

Commit

Permalink
fix: fix comment for LoadFilteredPolicy method (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWhite authored Jun 29, 2022
1 parent c8b36a5 commit e631a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (a *Adapter) LoadPolicy(model model.Model) error {
}

// LoadFilteredPolicy loads only policy rules that match the filter.
// Filter is a map[string][]string, key denotes ptype, []string is policy
// Filter parameter here is a Filter structure
func (a *Adapter) LoadFilteredPolicy(model model.Model, filter interface{}) error {

filterValue, ok := filter.(Filter)
Expand Down

0 comments on commit e631a83

Please sign in to comment.