mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 04:31:36 +08:00
prevent field config from being overwritten (#30437)
This commit is contained in:
@ -126,9 +126,11 @@ func (e *cloudWatchExecutor) transformQueryResponsesToQueryResult(cloudwatchResp
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
frame.Fields[1].SetConfig(&data.FieldConfig{
|
if frame.Fields[1].Config == nil {
|
||||||
Links: createDataLinks(link),
|
frame.Fields[1].Config = &data.FieldConfig{}
|
||||||
})
|
}
|
||||||
|
|
||||||
|
frame.Fields[1].Config.Links = createDataLinks(link)
|
||||||
}
|
}
|
||||||
|
|
||||||
queryResult.Dataframes = tsdb.NewDecodedDataFrames(frames)
|
queryResult.Dataframes = tsdb.NewDecodedDataFrames(frames)
|
||||||
|
Reference in New Issue
Block a user