Skip to content

Commit c0596d0

Browse files
authored
Merge pull request grafana#6257 from utkarshcmu/opentsdb_lodash
Opentsdb queries fixed without alias but with tags/filters
2 parents 2e4ca64 + 6638605 commit c0596d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/plugins/datasource/opentsdb/datasource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ function (angular, _, dateMath) {
332332
var tagData = [];
333333

334334
if (!_.isEmpty(md.tags)) {
335-
_.each(_.pairs(md.tags), function(tag) {
335+
_.each(_.toPairs(md.tags), function(tag) {
336336
if (_.has(groupByTags, tag[0])) {
337337
tagData.push(tag[0] + "=" + tag[1]);
338338
}

0 commit comments

Comments
 (0)