* Update changelog * Bump Go modules. * Update NewClientFromConfig use * Bump Go to 1.15. prometheus/common#249 added option to disable HTTP/2. Signed-off-by: Ben Kochie <superq@gmail.com>
After #49 was merged to master the build failed due to a linting error: GO111MODULE=on /go/bin/golangci-lint run ./... exporter/util.go:162:10: Error return value of `io.Copy` is not checked (errcheck) io.Copy(ioutil.Discard, resp.Body) ^ make: *** [Makefile.common:192: common-lint] Error 1 build failure here: https://app.circleci.com/pipelines/github/prometheus-community/json_exporter/28/workflows/e2c53db3-d3a3-4faa-a5a6-3b1fbb5754a0/jobs/71 Signed-off-by: Konstantinos Koukopoulos <koukopoulos@aisera.com>
Signed-off-by: rustyclock <rustyclock@protonmail.com>