From d484934b3a239bb5e36edc856b99a98cde963621 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Tue, 1 Aug 2023 11:51:58 +0200 Subject: [PATCH] Format source code --- pkg/datasource/response_handler.go | 1 + pkg/zabbixapi/testing.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/datasource/response_handler.go b/pkg/datasource/response_handler.go index c1cdc8e..e1f3a57 100644 --- a/pkg/datasource/response_handler.go +++ b/pkg/datasource/response_handler.go @@ -9,6 +9,7 @@ import ( "github.com/alexanderzobnin/grafana-zabbix/pkg/gtime" "github.com/alexanderzobnin/grafana-zabbix/pkg/timeseries" "github.com/alexanderzobnin/grafana-zabbix/pkg/zabbix" + "github.com/grafana/grafana-plugin-sdk-go/data" ) diff --git a/pkg/zabbixapi/testing.go b/pkg/zabbixapi/testing.go index e55ef5a..55c859a 100644 --- a/pkg/zabbixapi/testing.go +++ b/pkg/zabbixapi/testing.go @@ -15,7 +15,7 @@ func (f RoundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) { return f(req), nil } -//NewTestClient returns *http.Client with Transport replaced to avoid making real calls +// NewTestClient returns *http.Client with Transport replaced to avoid making real calls func NewTestClient(fn RoundTripFunc) *http.Client { return &http.Client{ Transport: RoundTripFunc(fn),