Skip to content

Commit

Permalink
Graphite: makes query annotations work again (#24556)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugohaggmark committed May 12, 2020
1 parent cb4266b commit 7992f8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/app/plugins/datasource/graphite/datasource.ts
Expand Up @@ -225,8 +225,8 @@ export class GraphiteDatasource extends DataSourceApi<GraphiteQuery, GraphiteOpt
const target = result.data[i];

for (let y = 0; y < target.length; y++) {
const time = target.fields[1].values.get(y);
const value = target.fields[0].values.get(y);
const time = target.fields[0].values.get(y);
const value = target.fields[1].values.get(y);

if (!value) {
continue;
Expand Down

0 comments on commit 7992f8b

Please sign in to comment.