Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a6ce8d2

Browse files
committed
bump imports
1 parent d89dbb8 commit a6ce8d2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

coderd/rbac/authz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
"github.com/ammario/tlru"
1414
"github.com/open-policy-agent/opa/ast"
15-
"github.com/open-policy-agent/opa/rego"
15+
"github.com/open-policy-agent/opa/v1/rego"
1616
"github.com/prometheus/client_golang/prometheus"
1717
"github.com/prometheus/client_golang/prometheus/promauto"
1818
"go.opentelemetry.io/otel/attribute"

coderd/rbac/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"flag"
77
"fmt"
88

9-
"github.com/open-policy-agent/opa/rego"
109
"github.com/open-policy-agent/opa/topdown"
10+
"github.com/open-policy-agent/opa/v1/rego"
1111
"golang.org/x/xerrors"
1212

1313
"github.com/coder/coder/v2/coderd/httpapi/httpapiconstraints"

coderd/rbac/regosql/compile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66

77
"github.com/open-policy-agent/opa/ast"
8-
"github.com/open-policy-agent/opa/rego"
8+
"github.com/open-policy-agent/opa/v1/rego"
99
"golang.org/x/xerrors"
1010

1111
"github.com/coder/coder/v2/coderd/rbac/regosql/sqltypes"

coderd/rbac/regosql/compile_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55

66
"github.com/open-policy-agent/opa/ast"
7-
"github.com/open-policy-agent/opa/rego"
7+
"github.com/open-policy-agent/opa/v1/rego"
88
"github.com/stretchr/testify/require"
99

1010
"github.com/coder/coder/v2/coderd/rbac/regosql"

0 commit comments

Comments
 (0)