Skip to content

Commit d127f23

Browse files
Bump github.com/grafana/grafana-plugin-sdk-go from 0.283.0 to 0.284.0 (#1457)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adam Yeats <adam.yeats@grafana.com>
1 parent da86577 commit d127f23

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/ClickHouse/clickhouse-go/v2 v2.42.0
77
github.com/docker/docker v28.5.2+incompatible
88
github.com/docker/go-units v0.5.0
9-
github.com/grafana/grafana-plugin-sdk-go v0.283.0
9+
github.com/grafana/grafana-plugin-sdk-go v0.284.0
1010
github.com/grafana/sqlds/v5 v5.0.3
1111
github.com/paulmach/orb v0.12.0
1212
github.com/pkg/errors v0.9.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1
114114
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
115115
github.com/grafana/dataplane/sdata v0.0.9 h1:AGL1LZnCUG4MnQtnWpBPbQ8ZpptaZs14w6kE/MWfg7s=
116116
github.com/grafana/dataplane/sdata v0.0.9/go.mod h1:Jvs5ddpGmn6vcxT7tCTWAZ1mgi4sbcdFt9utQx5uMAU=
117-
github.com/grafana/grafana-plugin-sdk-go v0.283.0 h1:G7IHshAr30rLWV9FtX3iLlFTTlBhuOkfe7xVAoIP5rE=
118-
github.com/grafana/grafana-plugin-sdk-go v0.283.0/go.mod h1:20qhoYxIgbZRmwCEO1KMP8q2yq/Kge5+xE/99/hLEk0=
117+
github.com/grafana/grafana-plugin-sdk-go v0.284.0 h1:1bK7eWsnPBLUWDcWJWe218Ik5ad0a5JpEL4mH9ry7Ws=
118+
github.com/grafana/grafana-plugin-sdk-go v0.284.0/go.mod h1:lHPniaSxq3SL5MxDIPy04TYB1jnTp/ivkYO+xn5Rz3E=
119119
github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF3YH66t4qL8=
120120
github.com/grafana/otel-profiling-go v0.5.1/go.mod h1:ftN/t5A/4gQI19/8MoWurBEtC6gFw8Dns1sJZ9W4Tls=
121121
github.com/grafana/pyroscope-go/godeltaprof v0.1.9 h1:c1Us8i6eSmkW+Ez05d3co8kasnuOY813tbMN8i/a3Og=

pkg/plugin/driver.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import (
2121
"github.com/grafana/grafana-plugin-sdk-go/build/buildinfo"
2222
"github.com/grafana/grafana-plugin-sdk-go/data"
2323
"github.com/grafana/grafana-plugin-sdk-go/data/sqlutil"
24-
"github.com/grafana/grafana-plugin-sdk-go/experimental/errorsource"
2524
"github.com/grafana/sqlds/v5"
2625
"github.com/pkg/errors"
2726
"golang.org/x/net/proxy"
@@ -254,7 +253,7 @@ func (h *Clickhouse) Connect(ctx context.Context, config backend.DataSourceInsta
254253

255254
backend.Logger.Error("failed to create ClickHouse client")
256255
backend.Logger.Debug("clickhouse client creation error", "error", err)
257-
return nil, errorsource.DownstreamError(fmt.Errorf("failed to create ClickHouse client"), false)
256+
return nil, backend.DownstreamError(fmt.Errorf("failed to create ClickHouse client"))
258257
}
259258

260259
return db, settings.isValid()
@@ -390,7 +389,7 @@ func convertNullableJSONFields(frame *data.Frame) error {
390389
var convertedFields []*data.Field
391390

392391
for _, field := range frame.Fields {
393-
if field.Type() == data.FieldTypeNullableJSON {
392+
if field.Type() == data.FieldTypeJSON {
394393
newField, err := convertFieldToString(field)
395394
if err != nil {
396395
return err

0 commit comments

Comments
 (0)