Skip to content
Snippets Groups Projects
  1. Oct 24, 2022
    • Lucas Roesler's avatar
      fix: return provider response during fnc listing errors · c07bebbb
      Lucas Roesler authored
      
      Return the original upstream response body when the the list request
      returns an error. In general, the provider is returning useful and
      actionable error messages for the user, the previous code hid this in
      the logs and this is easy for user to overlook.
      
      Additionally, remove an early return from error case after fetching
      metrics. This looked like a bug and could result in empty api responses
      if there was a prometheus error.
      
      Signed-off-by: default avatarLucas Roesler <roesler.lucas@gmail.com>
      c07bebbb
  2. Sep 21, 2022
  3. Mar 25, 2022
  4. Jan 24, 2022
  5. Feb 27, 2021
  6. Nov 17, 2020
  7. Nov 02, 2020
  8. Aug 05, 2019
  9. Oct 03, 2018
    • Alex Ellis's avatar
      Update comments · bd39b926
      Alex Ellis authored
      
      - updates comments and adds where missing
      - updates locks so that unlock is done via defer instead of
      at the end of the statement
      - extracts timeout variable in two places
      - remove makeClient() unused method from metrics package
      
      No-harm changes tested via go build.
      
      Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
      bd39b926
  10. Mar 03, 2018
  11. Dec 29, 2017
  12. Oct 29, 2017
  13. Oct 04, 2017
  14. Sep 07, 2017
Loading