Skip to content

Commit 3d97fcb

Browse files
committed
chore(launcher): use dashboard transport package client in launcher tests
1 parent 83755a1 commit 3d97fcb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/influxd/launcher/launcher_helpers.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"github.com/influxdata/influxdb/v2"
2020
"github.com/influxdata/influxdb/v2/bolt"
2121
influxdbcontext "github.com/influxdata/influxdb/v2/context"
22+
dashboardTransport "github.com/influxdata/influxdb/v2/dashboards/transport"
2223
"github.com/influxdata/influxdb/v2/http"
2324
"github.com/influxdata/influxdb/v2/kit/feature"
2425
"github.com/influxdata/influxdb/v2/mock"
@@ -367,9 +368,9 @@ func (tl *TestLauncher) BucketService(tb testing.TB) *http.BucketService {
367368
return &http.BucketService{Client: tl.HTTPClient(tb)}
368369
}
369370

370-
func (tl *TestLauncher) DashboardService(tb testing.TB) *http.DashboardService {
371+
func (tl *TestLauncher) DashboardService(tb testing.TB) influxdb.DashboardService {
371372
tb.Helper()
372-
return &http.DashboardService{Client: tl.HTTPClient(tb)}
373+
return &dashboardTransport.DashboardService{Client: tl.HTTPClient(tb)}
373374
}
374375

375376
func (tl *TestLauncher) LabelService(tb testing.TB) *http.LabelService {

0 commit comments

Comments
 (0)