plugins: return empty tables array insteaf of nil

This commit is contained in:
bergquist 2018-01-31 09:59:07 +01:00
parent 816c4d2340
commit 56d5ece340

View File

@ -71,6 +71,7 @@ func (tw *DatasourcePluginWrapper) Query(ctx context.Context, ds *models.DataSou
qr := &tsdb.QueryResult{
RefId: r.RefId,
Series: []*tsdb.TimeSeries{},
Tables: []*tsdb.Table{},
}
if r.Error != "" {