Remove old influx stuff

pull/12704/head
Tobias Skarhed 7 years ago
parent 51caf470f5
commit 27c081349f
  1. 2
      public/app/plugins/datasource/influxdb/query_ctrl.ts
  2. 2
      public/app/plugins/datasource/influxdb/specs/query_ctrl_specs.ts

@ -338,7 +338,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
this.tagSegments.push(this.uiSegmentSrv.newPlusButton());
}
}
console.log(this.tagSegments);
this.rebuildTargetTagConditions();
}

@ -57,13 +57,11 @@ describe('InfluxDBQueryCtrl', function() {
});
it('should update tag key', function() {
console.log(ctx.ctrl.target.tags);
expect(ctx.ctrl.target.tags[0].key).to.be('asd');
expect(ctx.ctrl.tagSegments[0].type).to.be('key');
});
it('should add tagSegments', function() {
console.log(ctx.ctrl.tagSegments);
expect(ctx.ctrl.tagSegments.length).to.be(3);
});
});

Loading…
Cancel
Save