Core: Add loki/logproto dependency (#27124)

* Add grafana/loki dependency and update its dependencies

* Update grpcplugin log_wrapper to implement the latest version of hclog.Logger

* Remove panic handling + test case no longer needed since the source of panics (bug) was fixed
This commit is contained in:
Joan López de la Franca Beltran
2020-08-25 11:52:21 +02:00
committed by GitHub
parent 6a01bab67c
commit c91bfd8299
6 changed files with 1084 additions and 77 deletions
-6
View File
@@ -289,12 +289,6 @@ func TestLoadingSettings(t *testing.T) {
So(err, ShouldBeNil)
So(value, ShouldEqual, "default_url_val")
})
Convey("In case of panic - should return user-friendly error", func() {
value, err := valueAsString(iniFile.Section("server"), "root_url", "")
So(err.Error(), ShouldEqual, "Invalid value for key 'root_url' in configuration file")
So(value, ShouldEqual, "")
})
})
}