prometheus/discovery/kubernetes
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
i) Uses the more idiomatic Wrap and Wrapf methods for creating nested errors.
ii) Fixes some incorrect usages of fmt.Errorf where the error messages don't have any formatting directives.
iii) Does away with the use of fmt package for errors in favour of pkg/errors

Signed-off-by: tariqibrahim <tariq181290@gmail.com>
2019-03-26 00:01:12 +01:00
..
client_metrics.go address review comment in client_metrics 2018-12-21 00:46:47 -08:00
endpoints.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
endpoints_test.go remove the prepended watch reactor from the fake k8s client (#5140) 2019-01-28 16:42:25 +01:00
ingress.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
ingress_test.go remove the prepended watch reactor from the fake k8s client (#5140) 2019-01-28 16:42:25 +01:00
kubernetes.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
kubernetes_test.go remove the prepended watch reactor from the fake k8s client (#5140) 2019-01-28 16:42:25 +01:00
node.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
node_test.go remove the prepended watch reactor from the fake k8s client (#5140) 2019-01-28 16:42:25 +01:00
pod.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
pod_test.go remove the prepended watch reactor from the fake k8s client (#5140) 2019-01-28 16:42:25 +01:00
service.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
service_test.go remove the prepended watch reactor from the fake k8s client (#5140) 2019-01-28 16:42:25 +01:00