Closed kwilczynski closed 1 year ago
Clean-up and refactor the Retry function so that:
errors.As()
jitter()
crypto/rand
login()
Signed-off-by: Krzysztof Wilczyński kwilczynski@redhat.com
Clean-up and refactor the Retry function so that:
errors.As()
instead of a type assertion to ensure that wrapped errors work correctlyjitter()
function to use a more secure random number generator from thecrypto/rand
packagelogin()
function and return the error value directlySigned-off-by: Krzysztof Wilczyński kwilczynski@redhat.com