Chore: Move identity and errutil to apimachinery module (#89116)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package plugins
|
||||
|
||||
import "github.com/grafana/grafana/pkg/util/errutil"
|
||||
import "github.com/grafana/grafana/pkg/apimachinery/errutil"
|
||||
|
||||
var (
|
||||
errPluginNotRegisteredBase = errutil.NotFound("plugin.notRegistered",
|
||||
|
||||
@@ -3,7 +3,7 @@ package repo
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/grafana/grafana/pkg/util/errutil"
|
||||
"github.com/grafana/grafana/pkg/apimachinery/errutil"
|
||||
)
|
||||
|
||||
type ErrResponse4xx struct {
|
||||
|
||||
@@ -5,8 +5,9 @@ import (
|
||||
"net/http"
|
||||
"testing"
|
||||
|
||||
"github.com/grafana/grafana/pkg/util/errutil"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/grafana/grafana/pkg/apimachinery/errutil"
|
||||
)
|
||||
|
||||
func TestErrResponse4xx(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user