40e54a75a6
Make apiClientImpl.DoGetFallback more idiomatic and efficient: * Save result of args.Encode() operation as it might be used 2 times in the function and due to looping and sorting it might be heavy. * Follow line-of-sight practise and therefore simplify the code. Signed-off-by: Tomáš Dohnálek <dohnto@gmail.com> |
||
---|---|---|
.. | ||
prometheus/v1 | ||
client.go | ||
client_test.go |