Skip to content

Commit 2a743f4

Browse files
committed
improve
1 parent bc62a57 commit 2a743f4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pkg/targets/tdengine/benchmark.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ func (b *benchmark) GetProcessor() targets.Processor {
5454

5555
func (b *benchmark) GetDBCreator() targets.DBCreator {
5656
return &dbCreator{
57+
ds: b.ds,
5758
opts: b.opts,
5859
connDB: b.opts.ConnDB,
59-
ds: b.ds,
6060
httpurl: b.opts.HttpURL(),
6161
}
6262
}

pkg/targets/tdengine/creator.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ import (
1212
)
1313

1414
const (
15-
tagsKey = "tags"
16-
TimeValueIdx = "TIME-VALUE"
17-
ValueTimeIdx = "VALUE-TIME"
15+
tagsKey = "tags"
1816
)
1917

2018
// allows for testing

0 commit comments

Comments
 (0)