chore(deps): Switch to maintained gopkg.in/yaml fork (#114131)

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
This commit is contained in:
Dave Henderson
2025-11-19 15:20:32 -05:00
committed by GitHub
parent 84d6f54daa
commit 7264803016
41 changed files with 50 additions and 48 deletions
@@ -15,7 +15,7 @@ import (
amconfig "github.com/prometheus/alertmanager/config"
"github.com/prometheus/alertmanager/pkg/labels"
prommodel "github.com/prometheus/common/model"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/grafana/pkg/api/response"
"github.com/grafana/grafana/pkg/apimachinery/errutil"
@@ -15,7 +15,7 @@ import (
prommodel "github.com/prometheus/common/model"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/grafana/pkg/apimachinery/identity"
"github.com/grafana/grafana/pkg/infra/log"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"io"
"net/http"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/grafana/pkg/api/response"
"github.com/grafana/grafana/pkg/infra/log"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"net/http"
"net/url"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/grafana/pkg/api/response"
"github.com/grafana/grafana/pkg/infra/log"
@@ -5,7 +5,7 @@ import (
"io"
"mime"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/grafana/pkg/api/response"
"github.com/grafana/grafana/pkg/apimachinery/errutil"
@@ -13,7 +13,7 @@ import (
"github.com/prometheus/alertmanager/config"
"github.com/prometheus/alertmanager/pkg/labels"
"github.com/prometheus/common/model"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/alerting/definition"
alertingmodels "github.com/grafana/alerting/models"
@@ -14,7 +14,7 @@ import (
"github.com/prometheus/common/model"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
//go:embed test-data/*.*
@@ -6,7 +6,7 @@ import (
"strings"
"github.com/grafana/alerting/templates"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func (t *NotificationTemplate) Validate() error {
@@ -6,7 +6,7 @@ import (
"github.com/prometheus/common/model"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func Test_Rule_Marshaling(t *testing.T) {
@@ -5,7 +5,7 @@ import (
"testing"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func TestNotificationPolicyExportMarshal(t *testing.T) {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"strconv"
"strings"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
"github.com/grafana/grafana/pkg/api/response"
"github.com/grafana/grafana/pkg/services/accesscontrol"