Skip to content

Commit

Permalink
fix: using any instead of interface{} as per comment open-policy-agen…
Browse files Browse the repository at this point in the history
…t#999 (comment)

Signed-off-by: Punith C K <[email protected]>
  • Loading branch information
Punith C K authored and Punith C K committed Oct 17, 2024
1 parent 13619ee commit 6c807d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policy/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (e *Engine) Namespaces() []string {
// Documents returns all of the documents loaded into the engine.
// The result is a map where the key is the filepath of the document
// and its value is the raw contents of the loaded document.
func (e *Engine) Documents() map[string]interface{} {
func (e *Engine) Documents() map[string]any {
return e.docs
}

Expand Down

0 comments on commit 6c807d1

Please sign in to comment.