attestation: show unit of time for retry message
Otherwise this just shows a message like
Failed to verify attestation. Retrying in 27...
which is a little vague. Let's make it clear that that refers to
seconds.
This commit is contained in:
parent
9fd572f8ad
commit
98647ff0af
@ -253,7 +253,7 @@ module Homebrew
|
||||
raise if @attestation_retry_count[bottle] >= ATTESTATION_MAX_RETRIES
|
||||
|
||||
sleep_time = 3 ** @attestation_retry_count[bottle]
|
||||
opoo "Failed to verify attestation. Retrying in #{sleep_time}..."
|
||||
opoo "Failed to verify attestation. Retrying in #{sleep_time}s..."
|
||||
sleep sleep_time if ENV["HOMEBREW_TESTS"].blank?
|
||||
@attestation_retry_count[bottle] += 1
|
||||
retry
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user