Skip to content

Commit

Permalink
fix windows tests
Browse files Browse the repository at this point in the history
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin committed Dec 14, 2022
1 parent 45a3036 commit 561a0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/tools/opa/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ import (
"github.com/pkg/errors"
)

const defaultPoliciesDir = "etc/nsm/opa"

//go:embed policies/*.rego
var embedFS embed.FS

var defaultPoliciesDir = filepath.Join("etc", "nsm", "opa")

func PoliciesByFileMask(masks ...string) ([]*AuthorizationPolicy, error) {
var policies []*AuthorizationPolicy

Expand Down

0 comments on commit 561a0fc

Please sign in to comment.