Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryk-dk committed Feb 12, 2024
1 parent 0e8ff14 commit db5bbee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/plugin/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (d *Datasource) query(ctx context.Context, _ backend.PluginContext, query b
lineField := data.NewFieldFromFieldType(data.FieldTypeString, 0)
lineField.Name = "Line"

var labels data.Labels
labels := data.Labels{}

dec := json.NewDecoder(resp.Body)

Expand All @@ -135,6 +135,7 @@ func (d *Datasource) query(ctx context.Context, _ backend.PluginContext, query b
if err != nil {
return newResponseError(err, backend.StatusInternal)
}
log.DefaultLogger.Info("RESOSNE => %#v", r)
for fieldName, value := range r {
switch fieldName {
case messageField:
Expand Down

0 comments on commit db5bbee

Please sign in to comment.