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:
@@ -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, "")
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user