File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 44
55require github.com/grafana/grafana-plugin-sdk-go v0.149.1
66
7- require github.com/NeedleInAJayStack/haystack v0.1.4
7+ require (
8+ github.com/NeedleInAJayStack/haystack v0.1.5
9+ github.com/joho/godotenv v1.5.1
10+ )
811
912require (
1013 github.com/BurntSushi/toml v0.3.1 // indirect
@@ -31,7 +34,6 @@ require (
3134 github.com/hashicorp/go-hclog v0.14.1 // indirect
3235 github.com/hashicorp/go-plugin v1.4.3 // indirect
3336 github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
34- github.com/joho/godotenv v1.5.1 // indirect
3537 github.com/josharian/intern v1.0.0 // indirect
3638 github.com/json-iterator/go v1.1.12 // indirect
3739 github.com/klauspost/compress v1.13.1 // indirect
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zum
3535github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ =
3636github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
3737github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 /go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo =
38- github.com/NeedleInAJayStack/haystack v0.1.4 h1:qJsouMtrr4wg9+s4Hx2Nxw6neKRxDnySZ6UMZuGwCj8 =
39- github.com/NeedleInAJayStack/haystack v0.1.4 /go.mod h1:Oho5sG64nQS27mApp6gWOUi7m4OgzpWllZrOtZn8qss =
38+ github.com/NeedleInAJayStack/haystack v0.1.5 h1:pT+xWnXH6ogtqXbBXyg0TSFJAwCscjrTTAESyR3eAyE =
39+ github.com/NeedleInAJayStack/haystack v0.1.5 /go.mod h1:Oho5sG64nQS27mApp6gWOUi7m4OgzpWllZrOtZn8qss =
4040github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af /go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw =
4141github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc /go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc =
4242github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 /go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc =
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
1010
1111 "github.com/NeedleInAJayStack/haystack/client"
1212 "github.com/grafana/grafana-plugin-sdk-go/backend"
13+ "github.com/grafana/grafana-plugin-sdk-go/backend/log"
1314 "github.com/grafana/grafana-plugin-sdk-go/data"
1415 "github.com/joho/godotenv"
15- "github.com/unknwon/log"
1616)
1717
1818// To run these tests, do the following:
@@ -51,7 +51,7 @@ func TestQueryData_Eval_Variables(t *testing.T) {
5151func getResponse (queryModel * QueryModel , timeRange backend.TimeRange , t * testing.T ) data.Frame {
5252 err := godotenv .Load ("../.env" )
5353 if err != nil {
54- log .Warn (".env file not found, falling back to local environment" )
54+ log .DefaultLogger . Warn (".env file not found, falling back to local environment" )
5555 }
5656
5757 client := client .NewClient (
You can’t perform that action at this time.
0 commit comments