mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
cleanup: use errors.Join
Signed-off-by: Stephan Renatus <stephan@styra.com>
This commit is contained in:
committed by
Ashutosh Narkar
parent
28a14a3b3b
commit
d978deb8c7
@@ -8,6 +8,7 @@ package discovery
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
@@ -22,7 +23,6 @@ import (
|
||||
"github.com/open-policy-agent/opa/hooks"
|
||||
bundleUtils "github.com/open-policy-agent/opa/internal/bundle"
|
||||
cfg "github.com/open-policy-agent/opa/internal/config"
|
||||
"github.com/open-policy-agent/opa/internal/errors"
|
||||
"github.com/open-policy-agent/opa/keys"
|
||||
"github.com/open-policy-agent/opa/logging"
|
||||
"github.com/open-policy-agent/opa/metrics"
|
||||
|
||||
+1
-1
@@ -7,6 +7,7 @@ package plugins
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
mr "math/rand"
|
||||
"sync"
|
||||
@@ -24,7 +25,6 @@ import (
|
||||
"github.com/open-policy-agent/opa/hooks"
|
||||
bundleUtils "github.com/open-policy-agent/opa/internal/bundle"
|
||||
cfg "github.com/open-policy-agent/opa/internal/config"
|
||||
"github.com/open-policy-agent/opa/internal/errors"
|
||||
initload "github.com/open-policy-agent/opa/internal/runtime/init"
|
||||
"github.com/open-policy-agent/opa/keys"
|
||||
"github.com/open-policy-agent/opa/loader"
|
||||
|
||||
Reference in New Issue
Block a user