[v10.4.x] Chore: Update grafana-plugin-sdk (#85087)

* Chore: Update grafana-plugin-sdk (#84289)

(cherry picked from commit 265200799d)

* Re-generate openapi

---------

Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
Co-authored-by: Giuseppe Guerra <giuseppe@guerra.in>
This commit is contained in:
Will Browne
2024-03-25 21:27:55 +02:00
committed by GitHub
co-authored by Andres Martinez Gotor Giuseppe Guerra
parent 6a8944a76e
commit e1fc1e9a13
14 changed files with 139 additions and 107 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package client
import (
"context"
"net/http"
"testing"
"github.com/grafana/grafana-azure-sdk-go/azsettings"
@@ -21,7 +22,7 @@ func TestCreateTransportOptions(t *testing.T) {
}
opts, err := CreateTransportOptions(context.Background(), settings, backend.NewLoggerWith("logger", "test"))
require.NoError(t, err)
require.Equal(t, map[string]string{"foo": "bar"}, opts.Headers)
require.Equal(t, http.Header{"Foo": []string{"bar"}}, opts.Header)
require.Equal(t, 2, len(opts.Middlewares))
})