client_golang/api
Tomáš Dohnálek 40e54a75a6 Refactor apiClientImpl.DoGetFallback
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>
2022-04-07 09:18:32 +02:00
..
prometheus/v1 Refactor apiClientImpl.DoGetFallback 2022-04-07 09:18:32 +02:00
client.go API client: make http reads more efficient (#976) 2022-01-25 11:16:10 +01:00
client_test.go API client: make http reads more efficient (#976) 2022-01-25 11:16:10 +01:00