update dependency grafana/grafana-plugin-sdk-go to v0.281.0 (#112726)
* go get github.com/grafana/grafana-plugin-sdk-go@v0.281.0 * make update-workspace * updated failing unit test * disable deprecation warnings * datasources: allow underscore-prefixed local time range * updated go.work.sum
This commit is contained in:
@@ -196,6 +196,8 @@ func arrowToNestedSetDataFrame(flamegraph *v1alpha1.FlamegraphArrow) (*data.Fram
|
||||
defer arrowReader.Release()
|
||||
|
||||
arrowReader.Next()
|
||||
//TODO: fix deprecation warning
|
||||
//nolint:staticcheck
|
||||
rec := arrowReader.Record()
|
||||
|
||||
fi, err := newFlamegraphIterator(rec)
|
||||
@@ -236,6 +238,9 @@ type flamegraphIterator struct {
|
||||
addressBuilder *bytes.Buffer
|
||||
}
|
||||
|
||||
// TODO: fix deprecation warning
|
||||
//
|
||||
//nolint:staticcheck
|
||||
func newFlamegraphIterator(rec arrow.Record) (*flamegraphIterator, error) {
|
||||
schema := rec.Schema()
|
||||
|
||||
|
||||
@@ -278,6 +278,8 @@ func flamegraphResponse() *connect.Response[v1alpha1.QueryResponse] {
|
||||
builderFlat.Append(columns.flat[i])
|
||||
}
|
||||
|
||||
//TODO: fix deprecation warning
|
||||
//nolint:staticcheck
|
||||
record := array.NewRecord(
|
||||
arrow.NewSchema(fields, nil),
|
||||
[]arrow.Array{
|
||||
|
||||
Reference in New Issue
Block a user